summaryrefslogtreecommitdiff
path: root/modules/nixos/desktop/audio.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-09 06:45:24 -0400
committerseth <[email protected]>2024-07-09 15:38:51 -0400
commit6368272cdeec8c69800b4e7645402914f48e5c33 (patch)
treef5e321fac25da065bff0480a63b0031eee00a031 /modules/nixos/desktop/audio.nix
parent74159b94f662fc737f5614bdd29fd76bf27cee27 (diff)
modules: better document most things
Diffstat (limited to 'modules/nixos/desktop/audio.nix')
-rw-r--r--modules/nixos/desktop/audio.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/nixos/desktop/audio.nix b/modules/nixos/desktop/audio.nix
index 06ce693..6361687 100644
--- a/modules/nixos/desktop/audio.nix
+++ b/modules/nixos/desktop/audio.nix
@@ -6,11 +6,15 @@ in
options.desktop.audio = {
enable = lib.mkEnableOption "desktop audio configuration" // {
default = config.desktop.enable;
+ defaultText = lib.literalExpression "config.desktop.enable";
};
};
config = lib.mkIf cfg.enable {
+ # we only want pipewire
hardware.pulseaudio.enable = false;
+
+ # this is recommended for both, though
security.rtkit.enable = true;
services = {