summaryrefslogtreecommitdiff
path: root/hosts/common/users.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/users.nix')
-rw-r--r--hosts/common/users.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/hosts/common/users.nix b/hosts/common/users.nix
index 0d2681e..e2e845e 100644
--- a/hosts/common/users.nix
+++ b/hosts/common/users.nix
@@ -3,20 +3,17 @@
lib,
pkgs,
...
-}:
-with config;
-with lib;
-with pkgs; {
+}: {
users = {
- defaultUserShell = bash;
+ defaultUserShell = pkgs.bash;
mutableUsers = false;
users = {
root = {
home = "/root";
- uid = ids.uids.root;
+ uid = config.ids.uids.root;
group = "root";
- initialHashedPassword = mkDefault "!";
+ initialHashedPassword = lib.mkDefault "!";
};
};
};