Added hetzner server configs
This commit is contained in:
@@ -2,13 +2,10 @@
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
configFile = "mpv/mpv.conf";
|
||||
}: let
|
||||
configFile = "mpv/mpv.conf";
|
||||
mpvInputFile = "mpv/input.conf";
|
||||
in
|
||||
{
|
||||
in {
|
||||
users.users.someone.packages = with pkgs; [
|
||||
mpv
|
||||
mpvScripts.mpris
|
||||
@@ -16,12 +13,11 @@ in
|
||||
|
||||
xdg.configFile."${configFile}".text =
|
||||
lib.generators.toKeyValue {
|
||||
mkKeyValue = k: v:
|
||||
"${lib.escapeShellArg k}=${lib.escapeShellArg v}";
|
||||
mkKeyValue = k: v: "${lib.escapeShellArg k}=${lib.escapeShellArg v}";
|
||||
listsAsDuplicateKeys = true;
|
||||
} {
|
||||
profile = "gpu-hq";
|
||||
volume = "100";
|
||||
volume = "100";
|
||||
};
|
||||
|
||||
xdg.configFile."${mpvInputFile}".text = ''
|
||||
|
||||
@@ -18,7 +18,7 @@ in {
|
||||
{
|
||||
"type" = "ladspa";
|
||||
"name" = "rnnoise";
|
||||
"plugin" = "librnnoise_ladspa";
|
||||
"plugin" = "librnnoise_ladspa";
|
||||
"label" = "noise_suppressor_stereo";
|
||||
"control" = {"VAD Threshold (%)" = 50.0;};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user