diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-05-26 00:18:45 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-05-26 00:18:45 -0400 |
| commit | 84a718ac1b4def43028a8ec2a14ed4a94063ac09 (patch) | |
| tree | 9ef70f80360834d44a84b81687db32c4bddd83fc /nixos | |
| parent | e9c9db7ac6a79a86bfb1fdb9d26f794a04b74988 (diff) | |
| download | home-84a718ac1b4def43028a8ec2a14ed4a94063ac09.tar.gz | |
repo: sync configs
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/bluetooth.nix | 19 | ||||
| -rw-r--r-- | nixos/default.nix | 8 |
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"; }; - - } |