diff options
author | Profpatsch <mail@profpatsch.de> | 2022-06-27 00:37:08 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-06-27 00:37:08 +0200 |
commit | 73a10bbc8cf639b8f7ccf84b9451a2a3dad1f294 (patch) | |
tree | 6dac5bdc6baee017cbf45171a18ff2e107f36344 /modules/services/upower-minimal.nix | |
parent | baf560762358fd2fea174c1629afa3d4f5045d71 (diff) |
services/upower-minimal: use empty config by default
I think the `null` still came from the nixpkgs module. Not sure whether upower will like an empty config file, but we’ll see.
Diffstat (limited to 'modules/services/upower-minimal.nix')
-rw-r--r-- | modules/services/upower-minimal.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/services/upower-minimal.nix b/modules/services/upower-minimal.nix index cb3f3895..c1067467 100644 --- a/modules/services/upower-minimal.nix +++ b/modules/services/upower-minimal.nix @@ -43,12 +43,10 @@ in settings = lib.mkOption { type = lib.types.nullOr ini.type; - default = null; + default = {}; description = '' The upower configuration. - If null, the default values in <literal>${pkg}/etc/UPower/UPower.conf</literal> are used. - So far it looks like there is always only one Section called <literal>UPower</literal> ''; example = { |