file cleanup, conditional motd
This commit is contained in:
@@ -39,7 +39,10 @@ in {
|
||||
};
|
||||
motd = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.str;
|
||||
default = service;
|
||||
default =
|
||||
if cfg.enable
|
||||
then service
|
||||
else null;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user