1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

fix: select isNormalUser for ssh user

This commit is contained in:
RGBCube 2025-03-10 22:41:44 +03:00
parent 0dd8302c82
commit 3bfb2a56ab
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -7,6 +7,7 @@
|> filterAttrs (_: value: value.config.services.openssh.enable)
|> mapAttrs (_: value: {
user = value.config.users.users
|> filterAttrs (_: value: value.isNormalUser)
|> attrNames
|> remove "root"
|> remove "backup"