mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Add eq config
This commit is contained in:
parent
b915c75c2e
commit
60f587bfd6
6 changed files with 270 additions and 5 deletions
|
|
@ -7,5 +7,6 @@
|
||||||
./git.nix
|
./git.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
|
./equalizer
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
16
modules/home/equalizer/default.nix
Normal file
16
modules/home/equalizer/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
options.myConfig.equalizer.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
|
config = lib.mkIf config.myConfig.equalizer.enable {
|
||||||
|
services.easyeffects.enable = true;
|
||||||
|
|
||||||
|
xdg.configFile."easyeffects/output" = {
|
||||||
|
source = ./output;
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
243
modules/home/equalizer/output/95X.json
Normal file
243
modules/home/equalizer/output/95X.json
Normal file
|
|
@ -0,0 +1,243 @@
|
||||||
|
{
|
||||||
|
"output": {
|
||||||
|
"blocklist": [],
|
||||||
|
"equalizer#0": {
|
||||||
|
"balance": 0.0,
|
||||||
|
"bypass": false,
|
||||||
|
"input-gain": -5.89,
|
||||||
|
"left": {
|
||||||
|
"band0": {
|
||||||
|
"frequency": 105.0,
|
||||||
|
"gain": 6.0,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 0.699999988079071,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Lo-shelf",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band1": {
|
||||||
|
"frequency": 59.5,
|
||||||
|
"gain": 1.5,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 5.940000057220459,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band2": {
|
||||||
|
"frequency": 103.9000015258789,
|
||||||
|
"gain": -1.7999999523162842,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 0.5,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band3": {
|
||||||
|
"frequency": 470.5,
|
||||||
|
"gain": -0.699999988079071,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 2.3399999141693115,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band4": {
|
||||||
|
"frequency": 1133.0999755859375,
|
||||||
|
"gain": -5.199999809265137,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 1.2699999809265137,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band5": {
|
||||||
|
"frequency": 2174.60009765625,
|
||||||
|
"gain": 2.9000000953674316,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 2.1700000762939453,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band6": {
|
||||||
|
"frequency": 4271.2001953125,
|
||||||
|
"gain": 4.199999809265137,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 2.859999895095825,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band7": {
|
||||||
|
"frequency": 5664.7001953125,
|
||||||
|
"gain": -4.300000190734863,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.21999979019165,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band8": {
|
||||||
|
"frequency": 7658.10009765625,
|
||||||
|
"gain": 4.199999809265137,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 1.25,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band9": {
|
||||||
|
"frequency": 10000.0,
|
||||||
|
"gain": -0.8999999761581421,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 0.699999988079071,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Hi-shelf",
|
||||||
|
"width": 4.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mode": "IIR",
|
||||||
|
"num-bands": 10,
|
||||||
|
"output-gain": 0.0,
|
||||||
|
"pitch-left": 0.0,
|
||||||
|
"pitch-right": 0.0,
|
||||||
|
"right": {
|
||||||
|
"band0": {
|
||||||
|
"frequency": 105.0,
|
||||||
|
"gain": 6.0,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 0.699999988079071,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Lo-shelf",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band1": {
|
||||||
|
"frequency": 59.5,
|
||||||
|
"gain": 1.5,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 5.940000057220459,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band2": {
|
||||||
|
"frequency": 103.9000015258789,
|
||||||
|
"gain": -1.7999999523162842,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 0.5,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band3": {
|
||||||
|
"frequency": 470.5,
|
||||||
|
"gain": -0.699999988079071,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 2.3399999141693115,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band4": {
|
||||||
|
"frequency": 1133.0999755859375,
|
||||||
|
"gain": -5.199999809265137,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 1.2699999809265137,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band5": {
|
||||||
|
"frequency": 2174.60009765625,
|
||||||
|
"gain": 2.9000000953674316,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 2.1700000762939453,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band6": {
|
||||||
|
"frequency": 4271.2001953125,
|
||||||
|
"gain": 4.199999809265137,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 2.859999895095825,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band7": {
|
||||||
|
"frequency": 5664.7001953125,
|
||||||
|
"gain": -4.300000190734863,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 4.21999979019165,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band8": {
|
||||||
|
"frequency": 7658.10009765625,
|
||||||
|
"gain": 4.199999809265137,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 1.25,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Bell",
|
||||||
|
"width": 4.0
|
||||||
|
},
|
||||||
|
"band9": {
|
||||||
|
"frequency": 10000.0,
|
||||||
|
"gain": -0.8999999761581421,
|
||||||
|
"mode": "APO (DR)",
|
||||||
|
"mute": false,
|
||||||
|
"q": 0.699999988079071,
|
||||||
|
"slope": "x1",
|
||||||
|
"solo": false,
|
||||||
|
"type": "Hi-shelf",
|
||||||
|
"width": 4.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"split-channels": false
|
||||||
|
},
|
||||||
|
"plugins_order": [
|
||||||
|
"equalizer#0"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, lib, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [./default.nix];
|
imports = [./default.nix];
|
||||||
|
|
||||||
home-manager.users.seb = {
|
home-manager.users.seb = {
|
||||||
|
|
|
||||||
|
|
@ -23,5 +23,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hypridle.beforeSleepCmd = lib.mkForce "";
|
services.hypridle.beforeSleepCmd = lib.mkForce "";
|
||||||
|
|
||||||
|
services.easyeffects.preset = "95X";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@
|
||||||
osConfig,
|
osConfig,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
xdg.userDirs.extraConfig.XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
||||||
|
|
||||||
myConfig = {
|
myConfig = {
|
||||||
de = {
|
de = {
|
||||||
hyprland.enable = osConfig.myConfig.de.hyprland.enable;
|
hyprland.enable = osConfig.myConfig.de.hyprland.enable;
|
||||||
|
|
@ -27,17 +29,14 @@
|
||||||
|
|
||||||
ssh-client.enable = true;
|
ssh-client.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
|
|
||||||
neovim.enable = true;
|
neovim.enable = true;
|
||||||
vscode.enable = true;
|
vscode.enable = true;
|
||||||
|
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
|
equalizer.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.btop.enable = true;
|
programs.btop.enable = true;
|
||||||
|
|
||||||
xdg.userDirs.extraConfig.XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.notepadqq
|
pkgs.notepadqq
|
||||||
pkgs.brave
|
pkgs.brave
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue