testing
This commit is contained in:
17
system/modules/sysd/network/openssh/default.nix
Normal file
17
system/modules/sysd/network/openssh/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.sysd.network.openssh;
|
||||
in {
|
||||
options = {
|
||||
modules.sysd.network.openssh.enable = mkEnableOption "Enables openssh";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user