aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-05-26 00:18:45 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-05-26 00:18:45 -0400
commit84a718ac1b4def43028a8ec2a14ed4a94063ac09 (patch)
tree9ef70f80360834d44a84b81687db32c4bddd83fc /nixos
parente9c9db7ac6a79a86bfb1fdb9d26f794a04b74988 (diff)
downloadhome-84a718ac1b4def43028a8ec2a14ed4a94063ac09.tar.gz
repo: sync configs
Diffstat (limited to 'nixos')
-rw-r--r--nixos/bluetooth.nix19
-rw-r--r--nixos/default.nix8
2 files changed, 24 insertions, 3 deletions
diff --git a/nixos/bluetooth.nix b/nixos/bluetooth.nix
new file mode 100644
index 0000000..ebe6b88
--- /dev/null
+++ b/nixos/bluetooth.nix
@@ -0,0 +1,19 @@
+{ config, lib, pkgs, ... }:
+let
+ cfg = config.nixos.bluetooth;
+ inherit (lib) types mkOption;
+in
+{
+ options.nixos.bluetooth = {
+ enable = mkOption {
+ type = types.bool;
+ default = true;
+ description = "enable bluetooth support";
+ };
+ };
+
+ config = lib.mkIf cfg.enable {
+ hardware.bluetooth.enable = true;
+ services.blueman.enable = true;
+ };
+}
diff --git a/nixos/default.nix b/nixos/default.nix
index 1997948..e075465 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -4,6 +4,8 @@ let
in
{
imports = [
+ ./bluetooth.nix
+ ./osu.nix
# ./kmonad.nix
];
@@ -91,6 +93,7 @@ in
man-pages-posix
cage
zsh
+ discord-ptb
]; # TODO
@@ -115,6 +118,8 @@ in
programs.foot.enable = true;
programs.foot.enableZshIntegration = false; # TODO: https://github.com/NixOS/nixpkgs/pull/409627
programs.sway.enable = true;
+ programs.sway.package = pkgs.sway;
+
programs.steam = {
enable = true;
};
@@ -171,9 +176,6 @@ in
"f0f0f0"
];
};
-
system.stateVersion = "24.11";
};
-
-
}