diff --git a/nixosModules/clanCore/vm.nix b/nixosModules/clanCore/vm.nix index 08f6779c8..af018dc3a 100644 --- a/nixosModules/clanCore/vm.nix +++ b/nixosModules/clanCore/vm.nix @@ -32,6 +32,12 @@ let boot.initrd.systemd.storePaths = [ pkgs.util-linux pkgs.e2fsprogs ]; boot.initrd.systemd.emergencyAccess = true; + # sysusers is faster than nixos's perl scripts + # and doesn't require state. + systemd.sysusers.enable = true; + users.mutableUsers = false; + users.allowNoPasswordLogin = true; + boot.initrd.kernelModules = [ "virtiofs" ]; virtualisation.writableStore = false; virtualisation.fileSystems = lib.mkForce ({