diff options
Diffstat (limited to 'modules/user.nix')
| -rw-r--r-- | modules/user.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/user.nix b/modules/user.nix new file mode 100644 index 0000000..39db362 --- /dev/null +++ b/modules/user.nix @@ -0,0 +1,11 @@ +{ config, libs, pkgs, ... }: +{ + + users.users.admin = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZxiAIsF13XqqxG0QzGFhT3iLDMsu2snb0wJOPUUq8e chris@deskpin" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDwlqdl/70dJ1ABKwLEdLB6/RDpfE4RVaB+xL3YJ1v3+ chris@kingpin" ]; + }; + security.sudo.wheelNeedsPassword = false; + +} |