From 635ddd3f72fc7282471ab5ccd4c75c6bd0d65168 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sat, 12 Jun 2021 08:10:26 +0000 Subject: [PATCH] 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 --- source/_posts/caddy-nixos-part-1.md | 2 ++ source/_posts/caddy-nixos-part-2.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/source/_posts/caddy-nixos-part-1.md b/source/_posts/caddy-nixos-part-1.md index ee7e7e4..b21befb 100644 --- a/source/_posts/caddy-nixos-part-1.md +++ b/source/_posts/caddy-nixos-part-1.md @@ -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; }; }; diff --git a/source/_posts/caddy-nixos-part-2.md b/source/_posts/caddy-nixos-part-2.md index c983100..a65ef9c 100644 --- a/source/_posts/caddy-nixos-part-2.md +++ b/source/_posts/caddy-nixos-part-2.md @@ -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";