mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 13:51:54 -05:00
home-manager: added easyeffects module with presets
This commit is contained in:
parent
8b84024206
commit
6c54370a7f
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./syncthing ];
|
||||
imports = [ ./syncthing ./easyeffects ];
|
||||
|
||||
userServices.syncthing.enable = lib.mkDefault true;
|
||||
}
|
||||
|
|
23
homeManagerModules/userServices/easyeffects/default.nix
Normal file
23
homeManagerModules/userServices/easyeffects/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
|
||||
options = {
|
||||
userServices.easyeffects.enable =
|
||||
lib.mkEnableOption "EasyEffects user service.";
|
||||
userServices.easyeffects.preset = lib.mkOption {
|
||||
description = "Name of preset to start with.";
|
||||
default = "";
|
||||
type = lib.types.str;
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.userServices.easyeffects.enable {
|
||||
|
||||
xdg.configFile."easyeffects/output/framework13.json".source =
|
||||
./framework13.json;
|
||||
|
||||
services.easyeffects = {
|
||||
enable = true;
|
||||
preset = config.userServices.easyeffects.preset;
|
||||
};
|
||||
};
|
||||
}
|
103
homeManagerModules/userServices/easyeffects/framework13.json
Normal file
103
homeManagerModules/userServices/easyeffects/framework13.json
Normal file
|
@ -0,0 +1,103 @@
|
|||
{
|
||||
"output": {
|
||||
"blocklist": [],
|
||||
"equalizer": {
|
||||
"balance": 0.0,
|
||||
"bypass": false,
|
||||
"input-gain": 0.0,
|
||||
"left": {
|
||||
"band0": {
|
||||
"frequency": 101.0,
|
||||
"gain": -18.1,
|
||||
"mode": "RLC (BT)",
|
||||
"mute": false,
|
||||
"q": 4.36,
|
||||
"slope": "x1",
|
||||
"solo": false,
|
||||
"type": "Lo-shelf"
|
||||
},
|
||||
"band1": {
|
||||
"frequency": 451.0,
|
||||
"gain": -5.48,
|
||||
"mode": "RLC (BT)",
|
||||
"mute": false,
|
||||
"q": 2.46,
|
||||
"slope": "x1",
|
||||
"solo": false,
|
||||
"type": "Bell"
|
||||
},
|
||||
"band2": {
|
||||
"frequency": 918.0,
|
||||
"gain": -4.76,
|
||||
"mode": "RLC (BT)",
|
||||
"mute": false,
|
||||
"q": 2.44,
|
||||
"slope": "x1",
|
||||
"solo": false,
|
||||
"type": "Bell"
|
||||
},
|
||||
"band3": {
|
||||
"frequency": 9700.0,
|
||||
"gain": 8.1,
|
||||
"mode": "RLC (BT)",
|
||||
"mute": false,
|
||||
"q": 2.0,
|
||||
"slope": "x1",
|
||||
"solo": false,
|
||||
"type": "Bell"
|
||||
}
|
||||
},
|
||||
"mode": "IIR",
|
||||
"num-bands": 4,
|
||||
"output-gain": 0.0,
|
||||
"pitch-left": 0.0,
|
||||
"pitch-right": 0.0,
|
||||
"right": {
|
||||
"band0": {
|
||||
"frequency": 101.0,
|
||||
"gain": -18.1,
|
||||
"mode": "RLC (BT)",
|
||||
"mute": false,
|
||||
"q": 4.36,
|
||||
"slope": "x1",
|
||||
"solo": false,
|
||||
"type": "Lo-shelf"
|
||||
},
|
||||
"band1": {
|
||||
"frequency": 451.0,
|
||||
"gain": -5.48,
|
||||
"mode": "RLC (BT)",
|
||||
"mute": false,
|
||||
"q": 2.46,
|
||||
"slope": "x1",
|
||||
"solo": false,
|
||||
"type": "Bell"
|
||||
},
|
||||
"band2": {
|
||||
"frequency": 918.0,
|
||||
"gain": -4.76,
|
||||
"mode": "RLC (BT)",
|
||||
"mute": false,
|
||||
"q": 2.44,
|
||||
"slope": "x1",
|
||||
"solo": false,
|
||||
"type": "Bell"
|
||||
},
|
||||
"band3": {
|
||||
"frequency": 9700.0,
|
||||
"gain": 8.1,
|
||||
"mode": "RLC (BT)",
|
||||
"mute": false,
|
||||
"q": 2.0,
|
||||
"slope": "x1",
|
||||
"solo": false,
|
||||
"type": "Bell"
|
||||
}
|
||||
},
|
||||
"split-channels": false
|
||||
},
|
||||
"plugins_order": [
|
||||
"equalizer"
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue