summary refs log tree commit diff stats
path: root/modules/by-name/op/openssh
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/op/openssh')
-rw-r--r--modules/by-name/op/openssh/module.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/by-name/op/openssh/module.nix b/modules/by-name/op/openssh/module.nix
index 49290b9..83aeadf 100644
--- a/modules/by-name/op/openssh/module.nix
+++ b/modules/by-name/op/openssh/module.nix
@@ -37,6 +37,11 @@ in {
     ];
     */
 
+    users = {
+      users.sshd.uid = config.vhack.constants.ids.uids.sshd;
+      groups.sshd.gid = config.vhack.constants.ids.gids.sshd;
+    };
+
     services.openssh = {
       enable = true;
       settings.PasswordAuthentication = false;