about summary refs log tree commit diff
path: root/nixos/modules/services/misc/nix-ssh-serve.nix
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-08-08 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2021-09-12 14:59:30 +0200
commitbc3bca822a32fbbc73a9d55394991cef92dba3b9 (patch)
tree04d54d294f1869dd6f874e92eb5f2c094eef3b7f /nixos/modules/services/misc/nix-ssh-serve.nix
parent0f15a8f489b04a7d0086edf27920ba15fa1de0d3 (diff)
downloadnixlib-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar
nixlib-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.gz
nixlib-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.bz2
nixlib-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.lz
nixlib-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.xz
nixlib-bc3bca822a32fbbc73a9d55394991cef92dba3b9.tar.zst
nixlib-bc3bca822a32fbbc73a9d55394991cef92dba3b9.zip
nixos: define the primary group of users where needed
Diffstat (limited to 'nixos/modules/services/misc/nix-ssh-serve.nix')
-rw-r--r--nixos/modules/services/misc/nix-ssh-serve.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/nix-ssh-serve.nix b/nixos/modules/services/misc/nix-ssh-serve.nix
index 7ce3841be2f5..757c65d75606 100644
--- a/nixos/modules/services/misc/nix-ssh-serve.nix
+++ b/nixos/modules/services/misc/nix-ssh-serve.nix
@@ -38,9 +38,11 @@ in {
 
     users.users.nix-ssh = {
       description = "Nix SSH store user";
-      uid = config.ids.uids.nix-ssh;
+      isSystemUser = true;
+      group = "nix-ssh";
       useDefaultShell = true;
     };
+    users.groups.nix-ssh = {};
 
     services.openssh.enable = true;