diff options
Diffstat (limited to 'hosts/common/users.nix')
| -rw-r--r-- | hosts/common/users.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/hosts/common/users.nix b/hosts/common/users.nix new file mode 100644 index 0000000..1dd219e --- /dev/null +++ b/hosts/common/users.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: + +with config; with lib; with pkgs; +{ + users = { + defaultUserShell = bash; + mutableUsers = false; + + users = { + + root = { + home = "/root"; + uid = ids.uids.root; + group = "root"; + initialHashedPassword = mkDefault "!"; + }; + +} |
