aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/desktop.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/desktop.nix')
-rw-r--r--nixos/modules/desktop.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix
index c67ae01..1ef5354 100644
--- a/nixos/modules/desktop.nix
+++ b/nixos/modules/desktop.nix
@@ -94,7 +94,7 @@ in {
gst_all_1.gst-plugins-ugly
gst_all_1.gst-plugins-viperfx
- ] ++ ( [
+ ] ++ (optionals cnf.laptop [
# Power management
powertop
acpi
@@ -160,6 +160,8 @@ in {
hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
+ hardware.bluetooth.enable = mkIf cnf.laptop true;
+
};
}