diff options
| author | Silas Schöffel <sils@sils.li> | 2025-02-21 11:14:22 +0100 |
|---|---|---|
| committer | Silas Schöffel <sils@sils.li> | 2025-02-21 11:14:22 +0100 |
| commit | fd03c30d52cd2e1631bf2353a2b9e108e744e0d9 (patch) | |
| tree | de64131bb35f1c4a2b20dee71ca97d2fcd131c3f /modules/nixos/sils/sound.nix | |
| parent | hm/theming: init module (diff) | |
| download | nix-config-fd03c30d52cd2e1631bf2353a2b9e108e744e0d9.zip | |
sound: init module
Diffstat (limited to 'modules/nixos/sils/sound.nix')
| -rw-r--r-- | modules/nixos/sils/sound.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/nixos/sils/sound.nix b/modules/nixos/sils/sound.nix new file mode 100644 index 0000000..3ad26fb --- /dev/null +++ b/modules/nixos/sils/sound.nix @@ -0,0 +1,20 @@ +{ + config, + lib, + ... +}: let + cfg = config.sils.sound; +in { + options.sils.sound.enable = lib.mkEnableOption "sound config"; + config = lib.mkIf cfg.enable { + services.pipewire = { + enable = true; + alsa = { + enable = true; + support32Bit = true; + }; + pulse.enable = true; + jack.enable = true; + }; + }; +} |
