From 73a10bbc8cf639b8f7ccf84b9451a2a3dad1f294 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 27 Jun 2022 00:37:08 +0200 Subject: services/upower-minimal: use empty config by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I think the `null` still came from the nixpkgs module. Not sure whether upower will like an empty config file, but we’ll see. --- modules/services/upower-minimal.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/services') 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 ${pkg}/etc/UPower/UPower.conf are used. - So far it looks like there is always only one Section called UPower ''; example = { -- cgit 1.4.1