summary refs log tree commit diff
path: root/modules/users/maddy.nix
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-04-02 14:11:03 +0200
committerRory& <root@rory.gay>2024-06-05 15:49:39 +0200
commit1663c18bedb68cfd117d66abf211be8fd04953b0 (patch)
tree72f4c55f88ef25aa6e83c5ecaf64cc91c40ea00f /modules/users/maddy.nix
parentAdd postgres and synapse (diff)
downloadSpacebar-Open-Infrastructure-1663c18bedb68cfd117d66abf211be8fd04953b0.tar.xz
Add a user for Maddy
Diffstat (limited to 'modules/users/maddy.nix')
-rwxr-xr-xmodules/users/maddy.nix14
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="
+    ];
+  };
+}
+