From b7d32b5bc7895dc99bde8754f28ac023f54336bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Sun, 12 Apr 2026 15:39:38 -0600 Subject: [PATCH] feat(easyeffects): init --- hosts/sydpc/configuration.nix | 2 + modules/home/easyeffects.nix | 22 + modules/home/easyeffects/thanks-ash.json | 777 +++++++++++++++++++++++ users/msyds/default.nix | 1 + 4 files changed, 802 insertions(+) create mode 100644 modules/home/easyeffects.nix create mode 100644 modules/home/easyeffects/thanks-ash.json diff --git a/hosts/sydpc/configuration.nix b/hosts/sydpc/configuration.nix index b44a390..2208dfc 100755 --- a/hosts/sydpc/configuration.nix +++ b/hosts/sydpc/configuration.nix @@ -10,6 +10,8 @@ v4l2loopback ]; + programs.dconf.enable = true; + sydnix = { filesystemType = "btrfs"; wifi.enable = true; diff --git a/modules/home/easyeffects.nix b/modules/home/easyeffects.nix new file mode 100644 index 0000000..59e0603 --- /dev/null +++ b/modules/home/easyeffects.nix @@ -0,0 +1,22 @@ +{ config, lib, pkgs, osConfig, ... }: + +let cfg = config.sydnix.easyeffects; +in { + options.sydnix.easyeffects = { + enable = lib.mkEnableOption "Easyeffects"; + }; + + config = lib.mkIf cfg.enable { + services.easyeffects = { + enable = true; + extraPresets.thanks-ash = + builtins.fromJSON + (builtins.readFile ./easyeffects/thanks-ash.json); + }; + + warnings = lib.optional (!osConfig.programs.dconf.enable) '' + Easyeffects requires services.dconf.enable = true in the NixOS + config. + ''; + }; +} diff --git a/modules/home/easyeffects/thanks-ash.json b/modules/home/easyeffects/thanks-ash.json new file mode 100644 index 0000000..4b6258d --- /dev/null +++ b/modules/home/easyeffects/thanks-ash.json @@ -0,0 +1,777 @@ +{ + "input": { + "blocklist": [], + "equalizer#0": { + "balance": 0.0, + "bypass": false, + "input-gain": 0.0, + "left": { + "band0": { + "frequency": 22.4, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band1": { + "frequency": 27.8, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band10": { + "frequency": 194.06, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band11": { + "frequency": 240.81, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band12": { + "frequency": 298.834, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band13": { + "frequency": 370.834, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band14": { + "frequency": 460.182, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band15": { + "frequency": 571.057, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band16": { + "frequency": 708.647, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band17": { + "frequency": 879.387, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band18": { + "frequency": 1091.26, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band19": { + "frequency": 1354.19, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band2": { + "frequency": 34.51, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band20": { + "frequency": 1680.47, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band21": { + "frequency": 2085.35, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band22": { + "frequency": 2587.79, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band23": { + "frequency": 3211.29, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band24": { + "frequency": 3985.01, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band25": { + "frequency": 4945.15, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band26": { + "frequency": 6136.63, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band27": { + "frequency": 7615.17, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band28": { + "frequency": 9449.96, + "gain": 0.05000000000000426, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band29": { + "frequency": 11726.8, + "gain": -0.5300000000000011, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band3": { + "frequency": 42.82, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band30": { + "frequency": 14552.2, + "gain": -22.29, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band31": { + "frequency": 18058.4, + "gain": -36.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band4": { + "frequency": 53.14, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band5": { + "frequency": 65.95, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band6": { + "frequency": 81.83, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band7": { + "frequency": 101.55, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band8": { + "frequency": 126.0, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band9": { + "frequency": 156.38, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + } + }, + "mode": "IIR", + "num-bands": 32, + "output-gain": 0.0, + "pitch-left": 0.0, + "pitch-right": 0.0, + "right": { + "band0": { + "frequency": 22.4, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band1": { + "frequency": 27.8, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band10": { + "frequency": 194.06, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band11": { + "frequency": 240.81, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band12": { + "frequency": 298.834, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band13": { + "frequency": 370.834, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band14": { + "frequency": 460.182, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band15": { + "frequency": 571.057, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band16": { + "frequency": 708.647, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band17": { + "frequency": 879.387, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band18": { + "frequency": 1091.26, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band19": { + "frequency": 1354.19, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band2": { + "frequency": 34.51, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band20": { + "frequency": 1680.47, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band21": { + "frequency": 2085.35, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band22": { + "frequency": 2587.79, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band23": { + "frequency": 3211.29, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band24": { + "frequency": 3985.01, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band25": { + "frequency": 4945.15, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band26": { + "frequency": 6136.63, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band27": { + "frequency": 7615.17, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band28": { + "frequency": 9449.96, + "gain": 0.05000000000000426, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band29": { + "frequency": 11726.8, + "gain": -0.5300000000000011, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band3": { + "frequency": 42.82, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band30": { + "frequency": 14552.2, + "gain": -22.29, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band31": { + "frequency": 18058.4, + "gain": -36.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band4": { + "frequency": 53.14, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band5": { + "frequency": 65.95, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band6": { + "frequency": 81.83, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band7": { + "frequency": 101.55, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band8": { + "frequency": 126.0, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band9": { + "frequency": 156.38, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 4.36, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + } + }, + "split-channels": false + }, + "gate#0": { + "attack": 5.0, + "bypass": false, + "curve-threshold": -30.0, + "curve-zone": -6.0, + "dry": -80.01, + "hpf-frequency": 10.0, + "hpf-mode": "Off", + "hysteresis": false, + "hysteresis-threshold": -12.0, + "hysteresis-zone": -6.0, + "input-gain": 0.0, + "input-to-link": 0.0, + "input-to-sidechain": 0.0, + "link-to-input": 0.0, + "link-to-sidechain": 0.0, + "lpf-frequency": 20000.0, + "lpf-mode": "Off", + "makeup": 0.0, + "output-gain": 0.0, + "reduction": -24.0, + "release": 250.0, + "sidechain": { + "lookahead": 0.0, + "mode": "Peak", + "preamp": 0.0, + "reactivity": 10.0, + "source": "Middle", + "stereo-split-source": "Left/Right", + "type": "Internal" + }, + "sidechain-to-input": 0.0, + "sidechain-to-link": 0.0, + "stereo-split": false, + "wet": 0.0 + }, + "loudness#0": { + "bypass": false, + "clipping": false, + "clipping-range": 6.0, + "fft": "4096", + "iir-approximation": "Normal", + "input-gain": 0.0, + "mode": "FFT", + "output-gain": 0.0, + "std": "ISO226-2023", + "volume": 7.0 + }, + "plugins_order": [ + "gate#0", + "equalizer#0", + "loudness#0" + ] + } +} diff --git a/users/msyds/default.nix b/users/msyds/default.nix index 037ec87..47dc7fe 100644 --- a/users/msyds/default.nix +++ b/users/msyds/default.nix @@ -49,6 +49,7 @@ prism-launcher.enable = on "sydpc"; flatpak.enable = on "sydpc"; drawing-tablet.enable = on "sydpc"; + easyeffects.enable = on "sydpc"; sops = { enable = true; keyFile = "/persist/private-keys/age/crumb";