Merge pull request #40416 from oxij/os/fix-some-types
nixos: fix some types
This commit is contained in:
commit
8c78d3a527
@ -12,6 +12,7 @@ in
|
|||||||
options = {
|
options = {
|
||||||
|
|
||||||
services.xserver.desktopManager.xterm.enable = mkOption {
|
services.xserver.desktopManager.xterm.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
description = "Enable a xterm terminal as a desktop manager.";
|
description = "Enable a xterm terminal as a desktop manager.";
|
||||||
};
|
};
|
||||||
|
@ -217,7 +217,7 @@ in rec {
|
|||||||
|
|
||||||
environment = mkOption {
|
environment = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = with types; attrsOf (nullOr (either str package));
|
type = with types; attrsOf (nullOr (either str (either path package)));
|
||||||
example = { PATH = "/foo/bar/bin"; LANG = "nl_NL.UTF-8"; };
|
example = { PATH = "/foo/bar/bin"; LANG = "nl_NL.UTF-8"; };
|
||||||
description = "Environment variables passed to the service's processes.";
|
description = "Environment variables passed to the service's processes.";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user