aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/desktop.nix4
-rw-r--r--nixos/modules/generic.nix1
2 files changed, 4 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;
+
};
}
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