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

@ -8,7 +8,6 @@
cfg = config.desktop.cosmic;
in {
imports = with inputs; [
./common/pipewire.nix
nixos-cosmic.nixosModules.default
];
options = {
@ -16,6 +15,7 @@ in {
lib.mkEnableOption "enable cosmic desktop";
};
config = lib.mkIf cfg.enable {
sound.pipewire.enable = true;
nix.settings = {
substituters = ["https://cosmic.cachix.org/"];
trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];