Store nix config in ~ not /etc

This commit is contained in:
Chandler Swift 2024-03-11 21:11:42 -05:00
parent 29c9ed18f2
commit e2017a6290

View file

@ -10,6 +10,13 @@
./hardware-configuration.nix
];
# https://discourse.nixos.org/t/github-strategies-for-configuration-nix/1983/14
nix.nixPath = [
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
"nixos-config=/home/chandler/projects/machine-config/${config.networking.hostName}/configuration.nix"
"/nix/var/nix/profiles/per-user/root/channels"
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;