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 = {
|
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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue