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-home.nix | |
download | nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.tar.gz nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.tar.bz2 nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.zip |
Diffstat (limited to 'nixos/users-home.nix')
-rw-r--r-- | nixos/users-home.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/nixos/users-home.nix b/nixos/users-home.nix new file mode 100644 index 0000000..baa5d91 --- /dev/null +++ b/nixos/users-home.nix @@ -0,0 +1,35 @@ +{pkgs, ...}: { + users = { + groups = { + anthi = { + gid = 1001; + }; + + aris = { + gid = 1002; + }; + }; + + users = { + anthi = { + isNormalUser = true; + uid = 1001; + group = "anthi"; + createHome = true; + home = "/home/anthi"; + initialPassword = "password"; + shell = pkgs.zsh; + }; + + aris = { + isNormalUser = true; + uid = 1002; + group = "aris"; + createHome = true; + home = "/home/aris"; + initialPassword = "password"; + shell = pkgs.zsh; + }; + }; + }; +} |