Compare commits

..

5 commits

5 changed files with 11 additions and 19 deletions

View file

@ -25,13 +25,14 @@ let
enableRTGroupSched = {
name = "enable-rt-group-sched";
patch = null;
extraConfigStructuredConfig = with lib.kernel; {
structuredExtraConfig = with lib.kernel; {
RT_GROUP_SCHED = yes;
};
};
enableEnergyModel = {
name = "enable-energy-model";
patch = null; extraStructuredConfig = with lib.kernel; {
patch = null;
structuredExtraConfig = with lib.kernel; {
ENERGY_MODEL = yes;
};
};

View file

@ -188,20 +188,6 @@ in {
#services.pcscd.enable = mkDefault true;
networking.networkmanager.plugins = [ pkgs.networkmanager-openvpn ];
nixpkgs.overlays = [(final: prev: {
# Patch rtkit to enable graceful systemd suspend support
rtkit = myLib.optimizations.addAttrs prev.rtkit {
patches = [
(final.fetchpatch {
name = "add-graceful-system-suspend-support.patch";
url = "https://patch-diff.githubusercontent.com/raw/heftig/rtkit/pull/35.patch";
hash = "sha256-NRVNSa7fzgEDn6ic/Vb36VCj2kv9AC6+Dm2uYNgbEZw=";
})
];
};
})];
})
]);
}

View file

@ -28,7 +28,7 @@ in {
obs-pipewire-audio-capture
]; })
scribus
#scribus
yt-dlp
#jellyfin-media-player # https://github.com/NixOS/nixpkgs/issues/437865 https://github.com/jellyfin/jellyfin-media-player/issues/282
jellyfin-mpv-shim

View file

@ -42,18 +42,23 @@ context.modules = [
plugin = ${rnnoise-plugin}/lib/ladspa/librnnoise_ladspa.so
label = noise_suppressor_stereo
control = {
"VAD Threshold (%)" ${toString noiseFilterStrength}
"VAD Threshold (%)" = ${toString noiseFilterStrength}
"VAD Grace Period (ms)" = 200
"Retroactive VAD Grace (ms)" = 0
}
}
]
}
capture.props = {
node.name = "capture.rnnoise_source"
node.passive = true
audio.rate = 48000
}
playback.props = {
node.name = "rnnoise_source.output"
media.class = Audio/Source
node.virtual = false
audio.rate = 48000
}
}
}

View file

@ -4,7 +4,7 @@ let
cfg = config.aviallon.general;
desktopCfg = config.aviallon.desktop;
cmdline = config.aviallon.boot.cmdline;
zswapEnabled = if cmdline ? "zswap.enabled" then cmdline."zswap.enabled" == "Y" else false
zswapEnabled = if cmdline ? "zswap.enabled" then cmdline."zswap.enabled" == "Y" else false;
in
{
imports = [