mirror of
https://codeberg.org/mtxyz/nixconf.git
synced 2024-11-09 10:01:57 +00:00
Removes unused mkMerge.
This commit is contained in:
parent
e9d22cb0bc
commit
e3fb5c7ad8
1 changed files with 3 additions and 5 deletions
|
@ -17,9 +17,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf (!isNull cfg.graphical.desktop) (lib.mkMerge [
|
|
||||||
# Config for all desktops
|
# Config for all desktops
|
||||||
{
|
config = lib.mkIf (!isNull cfg.graphical.desktop) {
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
|
@ -81,6 +80,5 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.power-profiles-daemon.enable = !config.services.tlp.enable;
|
services.power-profiles-daemon.enable = !config.services.tlp.enable;
|
||||||
}
|
};
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue