Add packages to NIX_PATH
This commit is contained in:
parent
8d845e0dbf
commit
202ac6405c
|
@ -12,6 +12,7 @@
|
|||
nix = {
|
||||
nixPath = options.nix.nixPath.default ++ [
|
||||
"config=/etc/dotfiles/config"
|
||||
"packages=/etc/dotfiles/packages"
|
||||
];
|
||||
autoOptimiseStore = true;
|
||||
trustedUsers = [ "root" "@wheel" ];
|
||||
|
|
2
deploy
2
deploy
|
@ -31,4 +31,4 @@ nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable
|
|||
nix-channel --update
|
||||
|
||||
nixos-generate-config --root "$PREFIX"
|
||||
nixos-install --root "$PREFIX" -I "config=$DOTFILES/config"
|
||||
nixos-install --root "$PREFIX" -I "config=$DOTFILES/config" -I "packages=$DOTFILES/packages"
|
||||
|
|
Loading…
Reference in a new issue