my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
at main 23 lines 702 B view raw view rendered
1The user side is configured in `/home/<user>`. 2 3To set up a user configuration it must be declared in 4`/modules/base/users/options.nix` and `/modules/base/users/<user>.nix` can be 5used for anything that is not preconfigured by 6`/modules/base/users/mkusers.nix`. You will also want to add a hashed password 7generated from `mkpasswd` to `/modules/nixos/users/<user>.nix`. 8 9You should also add your user into the `users.nix` file for your system. Whilst 10following the template: 11 12```nix 13{ 14 garden.system = { 15 mainUser = "kitty"; 16 users = [ "kitty" ]; 17 }; 18 19 # you can add a home-manager configuration here for the user if it needs 20 # anything special 21 home-manager.users.kitty.garden = {}; 22} 23```