oignon: enable bluetooth
authorJulien Moutinho <julm+julm-nix@sourcephile.fr>
Mon, 6 May 2024 19:01:48 +0000 (21:01 +0200)
committerJulien Moutinho <julm+julm-nix@sourcephile.fr>
Mon, 6 May 2024 19:01:48 +0000 (21:01 +0200)
hosts/oignon.nix
nixos/profiles/bluetooth.nix [new file with mode: 0644]

index 05b571bdad6eecf63a3815f6149d7792e6e513cc..46d366690b3c18eec33d5ed247c457001256643d 100644 (file)
@@ -9,6 +9,7 @@
     ../nixos/profiles/printing.nix
     ../nixos/profiles/radio.nix
     ../nixos/profiles/tor.nix
+    ../nixos/profiles/bluetooth.nix
     oignon/backup.nix
     oignon/hardware.nix
     oignon/nebula.nix
diff --git a/nixos/profiles/bluetooth.nix b/nixos/profiles/bluetooth.nix
new file mode 100644 (file)
index 0000000..5af341b
--- /dev/null
@@ -0,0 +1,6 @@
+{ config, ... }:
+{
+  hardware.bluetooth.enable = true;
+  hardware.bluetooth.powerOnBoot = true;
+  services.blueman.enable = config.services.xserver.enable;
+}