summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey01892024-04-17 08:15:16 +0500
committerAndrey01892024-04-17 08:15:16 +0500
commite8d1371ae88299899a0b35b9e4ace9b8790edf47 (patch)
tree0d4c2f686b25120f29eb6eca7f311a4ed7dbcc2c
parent78dca0df4cbd87c2b26c33d915ef7322e81ad96c (diff)
downloadnixos-config-e8d1371ae88299899a0b35b9e4ace9b8790edf47.tar.gz
nixos-config-e8d1371ae88299899a0b35b9e4ace9b8790edf47.tar.bz2
nixos-config-e8d1371ae88299899a0b35b9e4ace9b8790edf47.zip
Bluetooth
-rw-r--r--nixos/modules/bluetooth.nix14
-rw-r--r--nixos/modules/bundle.nix1
-rw-r--r--nixos/packages.nix1
3 files changed, 16 insertions, 0 deletions
diff --git a/nixos/modules/bluetooth.nix b/nixos/modules/bluetooth.nix
new file mode 100644
index 0000000..6c6a5df
--- /dev/null
+++ b/nixos/modules/bluetooth.nix
@@ -0,0 +1,14 @@
+{
+ hardware.bluetooth = {
+ enable = true;
+ powerOnBoot = true;
+ settings = {
+ General = {
+ Enable = "Source,Sink,Media,Socket";
+ Experimental = true;
+ };
+ };
+ };
+
+ services.blueman.enable = true;
+}
diff --git a/nixos/modules/bundle.nix b/nixos/modules/bundle.nix
index 642194f..2a9dae9 100644
--- a/nixos/modules/bundle.nix
+++ b/nixos/modules/bundle.nix
@@ -10,6 +10,7 @@
./virtmanager.nix
./hyprland.nix
./trim.nix
+ ./bluetooth.nix
./nixvim/nixvim.nix
];
}
diff --git a/nixos/packages.nix b/nixos/packages.nix
index 47ad8d5..abe650e 100644
--- a/nixos/packages.nix
+++ b/nixos/packages.nix
@@ -51,6 +51,7 @@
brightnessctl
swww
openssl
+ lazygit
# GUI utils
feh