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 = {
|
||||
|
||||
services.xserver.desktopManager.xterm.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = "Enable a xterm terminal as a desktop manager.";
|
||||
};
|
||||
|
@ -217,7 +217,7 @@ in rec {
|
||||
|
||||
environment = mkOption {
|
||||
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"; };
|
||||
description = "Environment variables passed to the service's processes.";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user