diff options
| author | seth <[email protected]> | 2023-01-23 15:44:04 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-01-23 16:06:56 -0500 |
| commit | 79b1d22cc9eb3752ae798d5ca9e6eeefeb86799e (patch) | |
| tree | 4efdc7145ab3d13632ff956b8a6aa187bcbd568e /hosts/common/users.nix | |
| parent | 9075aa13405b4d390bfe50cde83938c9a3af0fa8 (diff) | |
chore: general cleanup + use `with` less
Diffstat (limited to 'hosts/common/users.nix')
| -rw-r--r-- | hosts/common/users.nix | 11 |
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 "!"; }; }; }; |
