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 diff --git a/modules/nixos/forgejo.nix b/modules/nixos/forgejo.nix index ba3cd29..c7c0718 100644 --- a/modules/nixos/forgejo.nix +++ b/modules/nixos/forgejo.nix @@ -23,5 +23,5 @@ service.DISABLE_REGISTRATION = false; }; }; - services.openssh.ports = [config.services.forgejo.settings.server.HTTP_PORT]; + services.openssh.ports = [config.services.forgejo.settings.server.SSH_PORT]; }