little more cleanup

This commit is contained in:
Qyriad 2026-02-13 17:19:54 +01:00
parent 15641360ca
commit 4268754afb
2 changed files with 9 additions and 12 deletions

View file

@ -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