vms: enable sysusers
All checks were successful
checks-impure / test (pull_request) Successful in 1m49s
checks / test (pull_request) Successful in 2m17s

This commit is contained in:
Jörg Thalheim 2024-02-13 14:14:54 +01:00
parent 952f976ea7
commit 7a3fcd3deb

View File

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