From ad529e360c98bf7238d7c5ce273d51d89b7e58dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 12 Jun 2022 11:38:59 +0200 Subject: nixos/modules/desktop: add bluetooth and sshfs --- nixos/modules/desktop.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nixos/modules/desktop.nix') 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; + }; } -- cgit v1.2.3