summaryrefslogtreecommitdiff
path: root/machines.nix
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-01-10 15:30:17 +0100
committerandromeda <andromeda@lenovo>2026-01-10 15:30:17 +0100
commit45f52491650fad01e503067b62a31d102cb65cac (patch)
tree03f2dbee157684b9e061f2f3266c99896b33a7e0 /machines.nix
parent90dd0582b0e7a2d8b971472073aaa11b0b640271 (diff)
fix ssh
Diffstat (limited to 'machines.nix')
-rw-r--r--machines.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/machines.nix b/machines.nix
index 21408be..8d23c09 100644
--- a/machines.nix
+++ b/machines.nix
@@ -54,12 +54,9 @@
# ssh through port 5522 among other things
# andromeda@lenovo is the only user allowed access
- # ./modules/nixos/networking/hard-ssh.nix
- #./modules/nixos/networking/ssh-as-root.nix
- ({config, ...}: {
- services.openssh.enable = true;
- users.users.root.openssh.authorizedKeys.keys = [config.pub-keys.ssh.andromeda];
- })
+ ./modules/nixos/networking/hard-ssh.nix
+ ./modules/nixos/networking/ssh-as-root.nix
+ ({config, ...}: {users.users.root.openssh.authorizedKeys.keys = [config.pub-keys.ssh.andromeda];})
# TODO add Impermanence to the following services