diff options
Diffstat (limited to 'nixos/.flake/system/users.org')
-rw-r--r-- | nixos/.flake/system/users.org | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/.flake/system/users.org b/nixos/.flake/system/users.org new file mode 100644 index 0000000..498857a --- /dev/null +++ b/nixos/.flake/system/users.org @@ -0,0 +1,14 @@ +#+title: User Configuration + +Set up my user account with =zsh= as default shell with =sudoers= and network management permissions. +#+begin_src nix :tangle ~/.flake/system/users.nix :mkdirp yes +{ config, lib, pkgs, ... }: + +{ + users.users.jane = { + shell = pkgs.zsh; + isNormalUser = true; + extraGroups = [ "networkmanager" "wheel" ]; + }; +} +#+end_src |