Add packages to NIX_PATH
This commit is contained in:
parent
8d845e0dbf
commit
202ac6405c
|
@ -12,6 +12,7 @@
|
||||||
nix = {
|
nix = {
|
||||||
nixPath = options.nix.nixPath.default ++ [
|
nixPath = options.nix.nixPath.default ++ [
|
||||||
"config=/etc/dotfiles/config"
|
"config=/etc/dotfiles/config"
|
||||||
|
"packages=/etc/dotfiles/packages"
|
||||||
];
|
];
|
||||||
autoOptimiseStore = true;
|
autoOptimiseStore = true;
|
||||||
trustedUsers = [ "root" "@wheel" ];
|
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
|
nix-channel --update
|
||||||
|
|
||||||
nixos-generate-config --root "$PREFIX"
|
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