nixos: remove invalid mkDoc, mdDoc uses
This commit is contained in:
parent
5e16b1b0b1
commit
762e4cf52a
2 changed files with 6 additions and 6 deletions
|
@ -10,12 +10,12 @@ let
|
||||||
rulesToApply = lib.mkOption {
|
rulesToApply = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
default = lib.attrNames cfg.rules;
|
default = lib.attrNames cfg.rules;
|
||||||
description = lib.mdDoc "A list of rules keys to apply for profile";
|
description = "A list of rules keys to apply for profile";
|
||||||
};
|
};
|
||||||
extraRules = lib.mkOption {
|
extraRules = lib.mkOption {
|
||||||
type = lib.types.attrs;
|
type = lib.types.attrs;
|
||||||
default = {};
|
default = {};
|
||||||
description = lib.mdDoc "An attrset of additional dconf rules to apply ontop of selected";
|
description = "An attrset of additional dconf rules to apply ontop of selected";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -31,12 +31,12 @@ in
|
||||||
rules = lib.mkOption {
|
rules = lib.mkOption {
|
||||||
type = lib.types.attrs;
|
type = lib.types.attrs;
|
||||||
default = {};
|
default = {};
|
||||||
description = lib.mdDoc "An attrset of dconf rules to pull from";
|
description = "An attrset of dconf rules to pull from";
|
||||||
};
|
};
|
||||||
profiles = lib.mkOption {
|
profiles = lib.mkOption {
|
||||||
type = lib.types.attrsOf profileOpts;
|
type = lib.types.attrsOf profileOpts;
|
||||||
default = {};
|
default = {};
|
||||||
description = lib.mdDoc "An attret of profiles to create, with pulled rules";
|
description = "An attret of profiles to create, with pulled rules";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,9 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.unstable = {
|
options.unstable = {
|
||||||
enable = lib.mkEnableOption (lib.mkDoc ''
|
enable = lib.mkEnableOption ''
|
||||||
use of unstable packages in configuration. You can use `unstablePkgs` in configuration modules
|
use of unstable packages in configuration. You can use `unstablePkgs` in configuration modules
|
||||||
'') // { default = true; };
|
'' // { default = true; };
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
_module.args.unstablePkgs = if config.unstable.enable then pkgs.unstable else pkgs;
|
_module.args.unstablePkgs = if config.unstable.enable then pkgs.unstable else pkgs;
|
||||||
|
|
Loading…
Add table
Reference in a new issue