mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add minimal modular setup
This commit is contained in:
commit
e81d8c9be4
19 changed files with 351 additions and 0 deletions
12
modules/nixos/desktop/sound.nix
Normal file
12
modules/nixos/desktop/sound.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
options = {
|
||||
mods.sound.enable = lib.mkEnableOption "enables sound";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.mods.sound.enable {
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue