summary refs log tree commit diff
path: root/nixos/modules/services/x11/desktop-managers/plasma5.nix
diff options
context:
space:
mode:
authorMartino Fontana <tinozzo123@tutanota.com>2022-05-31 12:30:46 +0200
committerMartino Fontana <tinozzo123@tutanota.com>2022-07-08 23:32:51 +0200
commit7a4e90990562f575f66e4aeb7bc5147a7f04046d (patch)
tree31949c4cb430b5984af7efa16440e1fecd6634f9 /nixos/modules/services/x11/desktop-managers/plasma5.nix
parent1e12b9292c63207eb169ebcbaaee5b99a918d115 (diff)
downloadnixpkgs-7a4e90990562f575f66e4aeb7bc5147a7f04046d.tar
nixpkgs-7a4e90990562f575f66e4aeb7bc5147a7f04046d.tar.gz
nixpkgs-7a4e90990562f575f66e4aeb7bc5147a7f04046d.tar.bz2
nixpkgs-7a4e90990562f575f66e4aeb7bc5147a7f04046d.tar.lz
nixpkgs-7a4e90990562f575f66e4aeb7bc5147a7f04046d.tar.xz
nixpkgs-7a4e90990562f575f66e4aeb7bc5147a7f04046d.tar.zst
nixpkgs-7a4e90990562f575f66e4aeb7bc5147a7f04046d.zip
nixos/plasma5: enable power-profiles-daemon by default
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/plasma5.nix')
-rw-r--r--nixos/modules/services/x11/desktop-managers/plasma5.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix
index 59006a26cfc..bdd604b40c0 100644
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix
+++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix
@@ -399,9 +399,10 @@ in
       services.accounts-daemon.enable = true;
       # when changing an account picture the accounts-daemon reads a temporary file containing the image which systemsettings5 may place under /tmp
       systemd.services.accounts-daemon.serviceConfig.PrivateTmp = false;
+      services.power-profiles-daemon.enable = mkDefault true;
+      services.system-config-printer.enable = mkIf config.services.printing.enable (mkDefault true);
       services.udisks2.enable = true;
       services.upower.enable = config.powerManagement.enable;
-      services.system-config-printer.enable = mkIf config.services.printing.enable (mkDefault true);
       services.xserver.libinput.enable = mkDefault true;
 
       # Extra UDEV rules used by Solid