diff --git a/hosts/server/modules/internal/openssh.nix b/hosts/server/modules/internal/openssh.nix index 57946a1..c64701c 100644 --- a/hosts/server/modules/internal/openssh.nix +++ b/hosts/server/modules/internal/openssh.nix @@ -1,14 +1,16 @@ # SSH server -{ +{ config, ... }: { services.openssh = { enable = true; ports = [ 22 ]; settings = { PasswordAuthentication = true; - AllowUsers = null; # Allows all users by default. Can be [ "user1" "user2" ] + AllowUsers = + config.var.username; # Allows all users by default. Can be [ "user1" "user2" ] UseDns = true; X11Forwarding = false; - PermitRootLogin = "no"; # "yes", "without-password", "prohibit-password", "forced-commands-only", "no" + PermitRootLogin = + "no"; # "yes", "without-password", "prohibit-password", "forced-commands-only", "no" }; }; networking.firewall.allowedTCPPorts = [ 22 ]; diff --git a/hosts/server/modules/jackflix/default.nix b/hosts/server/modules/jackflix/default.nix index e6c1f7c..1a39b69 100644 --- a/hosts/server/modules/jackflix/default.nix +++ b/hosts/server/modules/jackflix/default.nix @@ -1,6 +1,6 @@ { imports = [ - # ./jellyfin.nix + ./jellyfin.nix # ./jellyseerr.nix # ./prowlarr.nix # ./radarr.nix diff --git a/hosts/server/secrets/default.nix b/hosts/server/secrets/default.nix index b294490..61a5b70 100644 --- a/hosts/server/secrets/default.nix +++ b/hosts/server/secrets/default.nix @@ -27,7 +27,7 @@ }; transmission-script = { mode = "0755"; - path = "/home/hadi/transmission-script.sh"; + path = "/home/jackflix/transmission-script.sh"; }; }; };