mirror of https://gitlab.com/curben/blog
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:
parent
8c2e000d8d
commit
635ddd3f72
|
@ -181,10 +181,12 @@ Following is my "configuration.nix". I'll show you how to secure NixOS using has
|
|||
caddyProxy = {
|
||||
home = "/var/lib/caddyProxy";
|
||||
createHome = true;
|
||||
isNormalUser = true;
|
||||
};
|
||||
caddyTor = {
|
||||
home = "/var/lib/caddyTor";
|
||||
createHome = true;
|
||||
isNormalUser = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -102,10 +102,12 @@ Combining with the previous user configs, I ended up with:
|
|||
caddyProxy = {
|
||||
home = "/var/lib/caddyProxy";
|
||||
createHome = true;
|
||||
isNormalUser = true;
|
||||
};
|
||||
caddyTor = {
|
||||
home = "/var/lib/caddyTor";
|
||||
createHome = true;
|
||||
isNormalUser = true;
|
||||
};
|
||||
tor = {
|
||||
home = "/var/lib/tor";
|
||||
|
|
Loading…
Reference in New Issue