about summary refs log tree commit diff
path: root/users/wpcarro/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/nixos')
-rw-r--r--users/wpcarro/nixos/ava/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/ava/default.nix b/users/wpcarro/nixos/ava/default.nix
index a3454af8c634..66ee029e39de 100644
--- a/users/wpcarro/nixos/ava/default.nix
+++ b/users/wpcarro/nixos/ava/default.nix
@@ -36,6 +36,8 @@ in
   };
 
   services = wpcarro.common.services // {
+    openssh.enable = true;
+
     xserver = {
       enable = true;
       layout = "us";
@@ -57,6 +59,9 @@ in
   hardware.pulseaudio.enable = true;
 
   users.mutableUsers = true;
+  users.users.root.openssh.authorizedKeys.keys = [
+    wpcarro.keys.nathan
+  ];
   users.users.wpcarro = {
     isNormalUser = true;
     extraGroups = [
@@ -65,6 +70,9 @@ in
       "docker"
     ];
     shell = pkgs.fish;
+    openssh.authorizedKeys.keys = [
+      wpcarro.keys.nathan
+    ];
   };
 
   security.sudo.wheelNeedsPassword = false;