nixos/lxqt: enable upower if config.powerManagement is enabled (#38318)

This commit is contained in:
Tim Engler 2018-04-06 07:49:55 +00:00 committed by Jörg Thalheim
parent 859a96e494
commit d488a9dc7a

View file

@ -61,6 +61,8 @@ in
environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ]; environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ];
services.upower.enable = config.powerManagement.enable;
}; };
} }