diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-04-02 14:11:03 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-06-05 15:49:39 +0200 |
commit | 1663c18bedb68cfd117d66abf211be8fd04953b0 (patch) | |
tree | 72f4c55f88ef25aa6e83c5ecaf64cc91c40ea00f /modules/users/maddy.nix | |
parent | Add postgres and synapse (diff) | |
download | Spacebar-Open-Infrastructure-1663c18bedb68cfd117d66abf211be8fd04953b0.tar.xz |
Add a user for Maddy
Diffstat (limited to 'modules/users/maddy.nix')
-rwxr-xr-x | modules/users/maddy.nix | 14 |
1 files changed, 14 insertions, 0 deletions
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=" + ]; + }; +} + |