about summary refs log tree commit diff
path: root/machines/profpatsch
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-18 13:27:31 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-18 13:27:31 +0200
commite827fc986aa29bf4c3ab08317877ecf6c830ddc9 (patch)
treebe117924fb7b62af4693e56bc0ab81f1e80621bb /machines/profpatsch
parent4da3a73dd8ebacf74dc9d0f7be58b94c97e1a495 (diff)
machines/profpatsch: make bitlbee and philip normal users
https://github.com/NixOS/nixpkgs/pull/115332 introduced a new check that
requires either isSystemUser or isNormalUser to be true to help UID
collision checks (I don't remember how this exactly aids that). To fix
evaluation of @Profpatsch's machines, I've set isNormalUser for bitlbee
and philip.

Note that bitlbee probably should be a system user, but seems like there
may be issues with that: https://github.com/NixOS/nixpkgs/pull/115332#issuecomment-792287827
Just to be safe, leave it as a normal user for now, the proper fix seems
to be to move the data dir creation into the service setup, rather than
doing it via the home setup.
Diffstat (limited to 'machines/profpatsch')
-rw-r--r--machines/profpatsch/lib.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/machines/profpatsch/lib.nix b/machines/profpatsch/lib.nix
index ae730824..80d800c7 100644
--- a/machines/profpatsch/lib.nix
+++ b/machines/profpatsch/lib.nix
@@ -13,5 +13,6 @@ rec {
     passwordFile = "${home}/.config/passwd";
     shell = "${lib.getBin fish}/bin/fish";
     openssh.authorizedKeys.keys = authKeys;
+    isNormalUser = true;
   };
 }