fix(module): disable dynamicuser again

This commit is contained in:
Yureka 2024-07-22 02:24:13 +02:00
parent 8e3c7f0efc
commit 375d87edc3

View file

@ -127,7 +127,10 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.tvix ]; environment.systemPackages = [ pkgs.tvix ];
users.users.tvix-castore = { }; users.users.tvix-castore = {
isSystemUser = true;
group = "tvix-castore";
};
users.groups.tvix-castore = { }; users.groups.tvix-castore = { };
systemd.tmpfiles.rules = [ "d ${cfg.castoreDir} 770 root tvix-castore -" ]; systemd.tmpfiles.rules = [ "d ${cfg.castoreDir} 770 root tvix-castore -" ];