diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/base.nix | 1 | ||||
-rwxr-xr-x | modules/users/maddy.nix | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/modules/base.nix b/modules/base.nix index 268ddda..3b34ff3 100755 --- a/modules/base.nix +++ b/modules/base.nix @@ -6,6 +6,7 @@ ./monitoring.nix ./users/Rory.nix ./users/chris.nix + ./users/maddy.nix ]; boot = { kernelPackages = pkgs.linuxPackages_latest; diff --git a/modules/users/maddy.nix b/modules/users/maddy.nix new file mode 100755 index 0000000..9f9ed6c --- /dev/null +++ b/modules/users/maddy.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: +{ + users.users.maddy = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + packages = with pkgs; [ + nano + ]; + openssh.authorizedKeys.keys = [ + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDOXRjGuFSnbe9zU0gd09SzfCL8JMf4EWVqbj3iAcFYsXeoMCXz5YtLl1kkOeQ3uXT1m8H/zjIRkpn2GbDpD000TBTXyBlzNOVQ23fZOvzMrYl2pX/09VFACF+tCTMxy1YsJur3ka9uwLlsmMqvSl0YZt6bN6RfEglGMEPuBfTm1EFo7MhXhUPnGUwiJ8xcsGSRH2kGmp/FSHUZL4CVWviZweULl2BcJTxqOdVZKM547SzN8/rLpu6I/4G/P8JTBiSIP4k8n5Fq6sZcDI5OOO6dk91wH9hU210kGHpwicXOoPAZzLFg4+Rz6VsXI1V8geydfm1Ci+XsQHEMs0V9IsAHPHvb8OeXBcyKtkaa4qAvIRN7ZdU4j17RVg8jHdkfdhkiNTzc6pnb9JS7xG/HU+9CW9USDaR6OFD5qSuUxLYP9qk9wYKtm+A3Yt6P+FLcuzSpjXu93vCGjJwCnuXcTP8DhoO3jVtzaixqzNMLgLCwDlalcf0lOSYEmzTs32lpPec=" + ]; + }; +} + |