Remove uses of the "merge" option attribute
It's redundant because you can (and should) specify an option type, or an apply function.
This commit is contained in:
@@ -40,10 +40,10 @@ in
|
||||
};
|
||||
|
||||
default = mkOption {
|
||||
type = types.uniq types.string;
|
||||
default = "none";
|
||||
example = "wmii";
|
||||
description = "Default window manager loaded if none have been chosen.";
|
||||
merge = mergeOneOption;
|
||||
apply = defaultWM:
|
||||
if any (w: w.name == defaultWM) cfg.session then
|
||||
defaultWM
|
||||
|
||||
Reference in New Issue
Block a user