Browse Source

lib/lxc-container: use admins authorizedKeys

Astro 2 months ago
parent
commit
ab7e4a5ea4
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/lxc-container.nix

+ 1
- 0
lib/lxc-container.nix View File

@@ -27,4 +27,5 @@
27 27
 
28 28
   # Required for remote deployment
29 29
   services.openssh.enable = true;
30
+  users.users.root.openssh.authorizedKeys.keys = (import ../secrets/lib/authorized_keys).admins;
30 31
 }