Compare commits

...

5 commits

5 changed files with 11 additions and 19 deletions

View file

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

View file

@ -188,20 +188,6 @@ in {
#services.pcscd.enable = mkDefault true; #services.pcscd.enable = mkDefault true;
networking.networkmanager.plugins = [ pkgs.networkmanager-openvpn ]; 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 obs-pipewire-audio-capture
]; }) ]; })
scribus #scribus
yt-dlp yt-dlp
#jellyfin-media-player # https://github.com/NixOS/nixpkgs/issues/437865 https://github.com/jellyfin/jellyfin-media-player/issues/282 #jellyfin-media-player # https://github.com/NixOS/nixpkgs/issues/437865 https://github.com/jellyfin/jellyfin-media-player/issues/282
jellyfin-mpv-shim jellyfin-mpv-shim

View file

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

View file

@ -4,7 +4,7 @@ let
cfg = config.aviallon.general; cfg = config.aviallon.general;
desktopCfg = config.aviallon.desktop; desktopCfg = config.aviallon.desktop;
cmdline = config.aviallon.boot.cmdline; 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 in
{ {
imports = [ imports = [