testing
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user