redo pipewire module

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-04-02 15:10:09 +03:00
parent 435b741506
commit 81ff294468
6 changed files with 55 additions and 17 deletions

View File

@ -7,12 +7,12 @@
with lib; let
cfg = config.desktop.niri;
in {
imports = [./common/pipewire.nix];
options = {
desktop.niri.enable =
mkEnableOption "enable niri desktop";
};
config = mkIf cfg.enable {
sound.pipewire.enable = true;
programs.niri.enable = true;
environment.systemPackages = with pkgs; [
brightnessctl