forked from yu-re-ka/binary-cache
fix(module): disable dynamicuser again
This commit is contained in:
parent
8e3c7f0efc
commit
375d87edc3
|
@ -127,7 +127,10 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
|
||||
environment.systemPackages = [ pkgs.tvix ];
|
||||
users.users.tvix-castore = { };
|
||||
users.users.tvix-castore = {
|
||||
isSystemUser = true;
|
||||
group = "tvix-castore";
|
||||
};
|
||||
users.groups.tvix-castore = { };
|
||||
|
||||
systemd.tmpfiles.rules = [ "d ${cfg.castoreDir} 770 root tvix-castore -" ];
|
||||
|
|
Loading…
Reference in a new issue