This commit is contained in:
cnst
2024-09-23 18:08:20 +02:00
parent 77f7c9f65f
commit 49dda26a01
8 changed files with 36 additions and 10 deletions

View File

@@ -21,7 +21,7 @@
"${systemModules}/sysd/network/blueman"
"${systemModules}/sysd/network/mullvad"
"${systemModules}/sysd/network/samba"
"${systemModules}/sysd/network/ssh"
"${systemModules}/sysd/network/openssh"
"${systemModules}/sysd/security/agenix"
"${systemModules}/sysd/security/gnome-keyring"
"${systemModules}/sysd/session/dbus"

View File

@@ -4,17 +4,14 @@
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.modules.sysd.network.ssh;
cfg = config.modules.sysd.network.openssh;
in {
options = {
modules.sysd.network.ssh.enable = mkEnableOption "Enables ssh";
modules.sysd.network.openssh.enable = mkEnableOption "Enables openssh";
};
config = mkIf cfg.enable {
services.openssh = {
enable = true;
};
programs.ssh = {
startAgent = true;
};
};
}