aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-06-12 11:38:59 +0200
committerKarel Kočí <cynerd@email.cz>2022-06-12 11:38:59 +0200
commitad529e360c98bf7238d7c5ce273d51d89b7e58dd (patch)
treea5e0c05565dea314ed464f46ff9627bda1c5c6d4 /nixos/modules
parent4562e1ecbebb0f1501603d947bae4b8ae07fa113 (diff)
downloadnixos-personal-ad529e360c98bf7238d7c5ce273d51d89b7e58dd.tar.gz
nixos-personal-ad529e360c98bf7238d7c5ce273d51d89b7e58dd.tar.bz2
nixos-personal-ad529e360c98bf7238d7c5ce273d51d89b7e58dd.zip
nixos/modules/desktop: add bluetooth and sshfs
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