remodel begin
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
options = {
|
||||
sysconfig.opts.openssh.enable = lib.options.mkOption {
|
||||
sysconfig.services.openssh.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.sysconfig.opts.openssh.enable {
|
||||
config = lib.mkIf config.sysconfig.services.openssh.enable {
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user