1
0
forked from clan/clan-core

vms: enable sysusers

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