forked from clan/clan-core
vms: enable sysusers
This commit is contained in:
parent
952f976ea7
commit
7a3fcd3deb
@ -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 ({
|
||||
|
Loading…
Reference in New Issue
Block a user