post(nixos): isNormalUser/isSystemUser must be set if uid is null

- https://search.nixos.org/options?channel=21.05&show=users.users.%3Cname%3E.isNormalUser&from=0&size=50&sort=relevance&query=isnormaluser
This commit is contained in:
Ming Di Leom 2021-06-12 08:10:26 +00:00
parent 8c2e000d8d
commit 635ddd3f72
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
2 changed files with 4 additions and 0 deletions

View File

@ -181,10 +181,12 @@ Following is my "configuration.nix". I'll show you how to secure NixOS using has
caddyProxy = { caddyProxy = {
home = "/var/lib/caddyProxy"; home = "/var/lib/caddyProxy";
createHome = true; createHome = true;
isNormalUser = true;
}; };
caddyTor = { caddyTor = {
home = "/var/lib/caddyTor"; home = "/var/lib/caddyTor";
createHome = true; createHome = true;
isNormalUser = true;
}; };
}; };

View File

@ -102,10 +102,12 @@ Combining with the previous user configs, I ended up with:
caddyProxy = { caddyProxy = {
home = "/var/lib/caddyProxy"; home = "/var/lib/caddyProxy";
createHome = true; createHome = true;
isNormalUser = true;
}; };
caddyTor = { caddyTor = {
home = "/var/lib/caddyTor"; home = "/var/lib/caddyTor";
createHome = true; createHome = true;
isNormalUser = true;
}; };
tor = { tor = {
home = "/var/lib/tor"; home = "/var/lib/tor";