diff options
author | grm@eyesin.space <grm@eyesin.space> | 2025-09-02 23:04:24 +0000 |
---|---|---|
committer | grm@eyesin.space <grm@eyesin.space> | 2025-09-02 23:04:24 +0000 |
commit | 47ef05ab310bb466300e93d1459370450414fbc4 (patch) | |
tree | 808f155d2871f831af743509de982c4c9789357c /nixos/users.nix | |
download | nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.tar.gz nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.tar.bz2 nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.zip |
Diffstat (limited to 'nixos/users.nix')
-rw-r--r-- | nixos/users.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixos/users.nix b/nixos/users.nix new file mode 100644 index 0000000..2327203 --- /dev/null +++ b/nixos/users.nix @@ -0,0 +1,22 @@ +{pkgs, ...}: { + users = { + groups = { + grm = { + gid = 1000; + }; + }; + + users = { + grm = { + isNormalUser = true; + uid = 1000; + group = "grm"; + extraGroups = ["wheel"]; + createHome = true; + home = "/home/grm"; + initialPassword = "password"; + shell = pkgs.zsh; + }; + }; + }; +} |