little more cleanup
This commit is contained in:
parent
15641360ca
commit
4268754afb
2 changed files with 9 additions and 12 deletions
|
|
@ -28,7 +28,9 @@
|
|||
*/
|
||||
|
||||
imports = (import "${modulesPath}/module-list.nix") ++ [
|
||||
# For the VM node, but not the in-VM configuration.nix
|
||||
./module-allow-rebuild-in-vm.nix
|
||||
# For the VM node, and the in-VM configuration.nix
|
||||
./dynix-vm-configuration.nix
|
||||
(toString dynix)
|
||||
];
|
||||
|
|
@ -37,12 +39,12 @@
|
|||
enable = true;
|
||||
serviceConfig.Type = "oneshot";
|
||||
serviceConfig.RemainAfterExit = true;
|
||||
serviceConfig.RequisteOf = [ "multi-user.target" ];
|
||||
path = [ config.system.path ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.requisteOf = [ "multi-user.target" ];
|
||||
after = [ "default.target" ];
|
||||
script = ''
|
||||
nix profile install -vv "${dynix.modules}"
|
||||
nix profile install -vv "${dynix.modules}" # "
|
||||
|
||||
mkdir -vp /etc/nixos
|
||||
nixos-generate-config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue