Commit caef5895e650
Changed files (4)
systems
hosts
modules
profiles
services
systems/hosts/wakasu.nix
@@ -81,6 +81,7 @@ in
enable = true;
guiAddress = "${metadata.hosts.wakasu.wireguard.addrs.v4}:8384";
};
+ ssh.enable = true;
};
};
systems/modules/profiles/ssh.nix
@@ -28,4 +28,5 @@ in
listenAddresses = cfg.listenAddresses;
forwardX11 = cfg.forwardX11;
};
- }
+ };
+}
systems/modules/profiles/syncthing.nix
@@ -1,6 +1,9 @@
{ config, lib, pkgs, ... }:
with lib;
+let
+ cfg = config.profiles.syncthing;
+in
{
options = {
profiles.syncthing = {
@@ -9,6 +12,6 @@ with lib;
};
config = mkIf cfg.enable {
warnings = [ "The option 'profiles.syncthing' is deprecated, use 'modules.desktop.syncthing' instead" ];
- modules.desktop.syncthing = cfg.enable;
+ modules.services.syncthing.enable = cfg.enable;
};
}
systems/modules/services/ssh.nix
@@ -37,7 +37,7 @@ in
# Move this for kerkouane only
extraConfig = ''
StreamLocalBindUnlink yes
- ${cg.extraConfig}
+ ${cfg.extraConfig}
'';
};
sshguard.enable = true;