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 +++- nixos/modules/generic.nix | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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; + }; } diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix index f3334e8..467ee8c 100644 --- a/nixos/modules/generic.nix +++ b/nixos/modules/generic.nix @@ -56,6 +56,7 @@ with lib; nmap netcat traceroute iftop nethogs # TODO add mdns + sshfs lm_sensors -- cgit v1.2.3