Compare commits
12 Commits
bec92689f7
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 419c8519b5 | |||
| 3c40029892 | |||
| 50ac93c727 | |||
| ef2f6041fd | |||
| cb4164f1de | |||
| f25b53bbfd | |||
| 664b43f22a | |||
| 539cff1b68 | |||
| eaa2de3e93 | |||
| 2073d0eacd | |||
| a900fe5664 | |||
| 1dbd1d78ce |
54
flake.lock
generated
54
flake.lock
generated
@@ -161,11 +161,11 @@
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1772408722,
|
||||
"narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=",
|
||||
"lastModified": 1777678872,
|
||||
"narHash": "sha256-EPIFsulyon7Z1vLQq5Fk64GR8L7cQsT+IPhcsukVbgk=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3",
|
||||
"rev": "5250617bffd85403b14dbf43c3870e7f255d2c16",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -420,14 +420,15 @@
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"flake-parts": "flake-parts",
|
||||
"nixpkgs": "nixpkgs_5"
|
||||
"nixpkgs": "nixpkgs_5",
|
||||
"nixpkgs-nixcord": "nixpkgs-nixcord"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1772813986,
|
||||
"narHash": "sha256-x0fD+LL+O99p36c2UnjnHvVq4/7TvGH/8G5lTNIJBCo=",
|
||||
"lastModified": 1778257733,
|
||||
"narHash": "sha256-FPKWRBfH2Zowz2Q+vRqL8GKNRZHaa6L450Ys2CQtLDQ=",
|
||||
"owner": "KaylorBen",
|
||||
"repo": "nixcord",
|
||||
"rev": "e433a2919eb9b3a8c85ab3017c08685816e63a66",
|
||||
"rev": "1b1f027264ad08153b480d37f10007ee71048567",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -469,11 +470,11 @@
|
||||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1772328832,
|
||||
"narHash": "sha256-e+/T/pmEkLP6BHhYjx6GmwP5ivonQQn0bJdH9YrRB+Q=",
|
||||
"lastModified": 1777168982,
|
||||
"narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "c185c7a5e5dd8f9add5b2f8ebeff00888b070742",
|
||||
"rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -482,6 +483,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-nixcord": {
|
||||
"locked": {
|
||||
"lastModified": 1777428379,
|
||||
"narHash": "sha256-ypxFOeDz+CqADEQNL72haqGjvZQdBR5Vc7pyx2JDttI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "755f5aa91337890c432639c60b6064bb7fe67769",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-25.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1742751704,
|
||||
@@ -580,11 +597,11 @@
|
||||
},
|
||||
"nixpkgs_5": {
|
||||
"locked": {
|
||||
"lastModified": 1772465433,
|
||||
"narHash": "sha256-ywy9troNEfpgh0Ee+zaV1UTgU8kYBVKtvPSxh6clYGU=",
|
||||
"lastModified": 1777428379,
|
||||
"narHash": "sha256-ypxFOeDz+CqADEQNL72haqGjvZQdBR5Vc7pyx2JDttI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c581273b8d5bdf1c6ce7e0a54da9841e6a763913",
|
||||
"rev": "755f5aa91337890c432639c60b6064bb7fe67769",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -802,16 +819,15 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1773275674,
|
||||
"narHash": "sha256-kULSjFWDoDatz31aIses5q51ESUi0ASUc3MKmBYLnRY=",
|
||||
"ref": "fcitx5-toki-pona",
|
||||
"rev": "03f6a67a0a3b3c00ff4566147eddb0123cfe3d14",
|
||||
"revCount": 38,
|
||||
"lastModified": 1776985528,
|
||||
"narHash": "sha256-32WDZGOJBjq3Jr4DRtumqXoX5t25/T0cQ7CzAqT1OnE=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "40de55454366e390e6972f5e9a9b1444df49ed18",
|
||||
"revCount": 40,
|
||||
"type": "git",
|
||||
"url": "https://git.deertopia.net/msyds/sydpkgs"
|
||||
},
|
||||
"original": {
|
||||
"ref": "fcitx5-toki-pona",
|
||||
"type": "git",
|
||||
"url": "https://git.deertopia.net/msyds/sydpkgs"
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
syd-fcitx5-tables.url =
|
||||
"git+https://git.deertopia.net/msyds/syd-fcitx5-tables";
|
||||
sydpkgs = {
|
||||
url = "git+https://git.deertopia.net/msyds/sydpkgs?ref=fcitx5-toki-pona";
|
||||
url = "git+https://git.deertopia.net/msyds/sydpkgs";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -9,6 +9,9 @@ in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.easyeffects = {
|
||||
enable = true;
|
||||
extraPresets.kissin-the-mic =
|
||||
builtins.fromJSON
|
||||
(builtins.readFile ./easyeffects/kissin-the-mic.json);
|
||||
extraPresets.thanks-ash =
|
||||
builtins.fromJSON
|
||||
(builtins.readFile ./easyeffects/thanks-ash.json);
|
||||
|
||||
777
modules/home/easyeffects/kissin-the-mic.json
Normal file
777
modules/home/easyeffects/kissin-the-mic.json
Normal file
@@ -0,0 +1,777 @@
|
||||
{
|
||||
"input": {
|
||||
"blocklist": [],
|
||||
"equalizer#0": {
|
||||
"balance": 0.0,
|
||||
"bypass": false,
|
||||
"input-gain": 0.0,
|
||||
"left": {
|
||||
"band0": {
|
||||
"frequency": 22.4,
|
||||
"gain": -36.0,
|
||||
"mode": "RLC (BT)",
|
||||
"mute": false,
|
||||
"q": 4.36,
|
||||
"slope": "x1",
|
||||
"solo": false,
|
||||
"type": "Bell",
|
||||
"width": 4.0
|
||||
},
|
||||
"band1": {
|
||||
"frequency": 27.8,
|
||||
"gain": -36.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": -26.54,
|
||||
"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": -36.0,
|
||||
"mode": "RLC (BT)",
|
||||
"mute": false,
|
||||
"q": 4.36,
|
||||
"slope": "x1",
|
||||
"solo": false,
|
||||
"type": "Bell",
|
||||
"width": 4.0
|
||||
},
|
||||
"band1": {
|
||||
"frequency": 27.8,
|
||||
"gain": -36.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": -26.54,
|
||||
"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": 4.0,
|
||||
"bypass": false,
|
||||
"curve-threshold": -12.5,
|
||||
"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": -40.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"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -83,6 +83,7 @@ in {
|
||||
fontspec
|
||||
dvisvgm dvipng wrapfig # For Org-mode previews/export.
|
||||
amsmath # Essential for mathematics.
|
||||
cancel # Cross out terms in math mode.
|
||||
spath3 # TikZ dependency?
|
||||
ulem hyperref
|
||||
capt-of
|
||||
|
||||
31
modules/home/haskell.nix
Normal file
31
modules/home/haskell.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.sydnix.haskell;
|
||||
in {
|
||||
options.sydnix.haskell.enable =
|
||||
lib.mkEnableOption "Haskell";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Convenient shorthand for quickly opening Haskell REPLs.
|
||||
programs.bash.profileExtra =
|
||||
builtins.readFile ./haskell/ghc-with-packages.sh;
|
||||
|
||||
home.file.".ghc/ghci.conf".text = ''
|
||||
:set prompt "\x1b[38;5;5mλ>\x1b[0m "
|
||||
:set prompt-cont "\x1b[38;5;5m|>\x1b[0m "
|
||||
'';
|
||||
|
||||
sydnix.impermanence.cache.directories =
|
||||
let xdg-cache-dir =
|
||||
config.home.cacheHome
|
||||
or "${config.home.homeDirectory}/.cache";
|
||||
in [
|
||||
# We don't want to rebuild Hackage simply due to a reboot, do we? }:)
|
||||
(lib.removePrefix "${config.home.homeDirectory}/"
|
||||
"${xdg-cache-dir}/cabal")
|
||||
".stack"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
52
modules/home/haskell/ghc-with-packages.sh
Normal file
52
modules/home/haskell/ghc-with-packages.sh
Normal file
@@ -0,0 +1,52 @@
|
||||
declare -a default_ghc_packages=(pretty-simple lens)
|
||||
|
||||
ghc-with-packages () {
|
||||
declare -a packages=()
|
||||
local GHC_COMMAND=${GHC_COMMAND:-"ghc"}
|
||||
packages+=$default_ghc_packages
|
||||
local exit=0 stop_args
|
||||
while [[ ! -z "$1" && -z "$stop_args" ]]; do
|
||||
local opt="$1"
|
||||
shift 1
|
||||
case "$opt" in
|
||||
"--")
|
||||
stop_args=1
|
||||
;;
|
||||
"-p")
|
||||
while [[ ! -z "$1" && "$1" != -* ]]; do
|
||||
packages+=("$1")
|
||||
shift 1
|
||||
done
|
||||
;;
|
||||
*|"-h")
|
||||
exit=1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
local pretty_simple
|
||||
|
||||
for p in "$packages"; do
|
||||
if [[ "$p" = "pretty-simple" ]]; then
|
||||
pretty_simple="-interactive-print=Text.Pretty.Simple.pPrint"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ "$exit" -eq 0 ]]; then
|
||||
# echo "packages: ${packages[@]}"
|
||||
# echo "args: $*"
|
||||
local pkgs="${packages[@]}"
|
||||
nix-shell \
|
||||
-p "haskellPackages.ghcWithPackages (p: with p; [ $pkgs ])" \
|
||||
--run "$GHC_COMMAND $pretty_simple $*"
|
||||
else
|
||||
echo >&2 "Usage: ghci-with-packages [-p packages…] [-- ghci-options]"
|
||||
return $exit
|
||||
fi
|
||||
}
|
||||
export -f ghc-with-packages
|
||||
|
||||
ghci-with-packages () {
|
||||
GHC_COMMAND=ghci ghc-with-packages "$@"
|
||||
}
|
||||
export -f ghci-with-packages
|
||||
12
modules/home/kerbal-space-program.nix
Normal file
12
modules/home/kerbal-space-program.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.sydnix.kerbal-space-program;
|
||||
in {
|
||||
options.sydnix.kerbal-space-program = {
|
||||
enable = lib.mkEnableOption "KSPslop";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [ pkgs.ckan ];
|
||||
};
|
||||
}
|
||||
17
modules/home/ryujinx.nix
Normal file
17
modules/home/ryujinx.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.sydnix.ryujinx;
|
||||
in {
|
||||
options.sydnix.ryujinx = {
|
||||
enable = lib.mkEnableOption "ryujinx";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [
|
||||
pkgs.ryubing-canary
|
||||
];
|
||||
sydnix.impermanence.directories = [
|
||||
".config/Ryujinx"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -20,6 +20,7 @@ in {
|
||||
enable = true;
|
||||
addons = with pkgs.ankiAddons; [
|
||||
review-heatmap
|
||||
anki-connect
|
||||
];
|
||||
sync = {
|
||||
autoSync = true;
|
||||
|
||||
@@ -239,7 +239,7 @@ in {
|
||||
# Precedence of search engines.
|
||||
order = [ "Kagi" "ddg" ];
|
||||
default = "Kagi";
|
||||
privateDefault = "ddg";
|
||||
privateDefault = "Kagi";
|
||||
engines = {
|
||||
"Kagi" = {
|
||||
urls = [{
|
||||
@@ -273,6 +273,26 @@ in {
|
||||
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "!np" ];
|
||||
};
|
||||
"English Wiktionary" = {
|
||||
urls = [{
|
||||
template = "https://en.wiktionary.org/wiki/Special:Search";
|
||||
params = [
|
||||
{ name = "go"; value = "Define"; }
|
||||
{ name = "search"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
definedAliases = [ "!wikt" "!enwikt" "!쟈사" "!wiktionary" ];
|
||||
};
|
||||
"위키낱말사전" = {
|
||||
urls = [{
|
||||
template = "https://ko.wiktionary.org/wiki/특수:검색";
|
||||
params = [
|
||||
{ name = "go"; value = "Define"; }
|
||||
{ name = "search"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
definedAliases = [ "!kowikt" "!위사" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.sydnix.users.crumb.haskell;
|
||||
in {
|
||||
options.sydnix.users.crumb.haskell.enable =
|
||||
lib.mkEnableOption "Haskell, à la crumb";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Convenient shorthand for quickly opening Haskell REPLs.
|
||||
programs.bash.profileExtra = ''
|
||||
# Start a GHCi REPL with the given packages made available.
|
||||
ghci-with-packages () {
|
||||
packages=""
|
||||
while getopts 'p:h' opt; do
|
||||
case "$opt" in
|
||||
p)
|
||||
packages="''${OPTARG}"
|
||||
;;
|
||||
?|h)
|
||||
echo >&2 "Usage: $(basename $0) [-p packages] [-- ghci-options]"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
shift "$(($OPTIND -1))"
|
||||
|
||||
nix-shell -p "haskellPackages.ghcWithPackages (p: with p; [ $packages ])" \
|
||||
--run "ghci $@"
|
||||
}
|
||||
export -f ghci-with-packages
|
||||
|
||||
# Run GHC with the given packages made available.
|
||||
ghc-with-packages () {
|
||||
packages=""
|
||||
while getopts 'p:h' opt; do
|
||||
case "$opt" in
|
||||
p)
|
||||
packages="''${OPTARG}"
|
||||
;;
|
||||
?|h)
|
||||
echo >&2 "Usage: $(basename $0) [-p packages] [-- ghc-options]"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
shift "$(($OPTIND -1))"
|
||||
|
||||
nix-shell -p "haskellPackages.ghcWithPackages (p: with p; [ $packages ])" \
|
||||
--run "ghc $@"
|
||||
}
|
||||
export -f ghc-with-packages
|
||||
'';
|
||||
|
||||
sydnix.impermanence.cache.directories =
|
||||
let xdg-cache-dir =
|
||||
config.home.cacheHome
|
||||
or "${config.home.homeDirectory}/.cache";
|
||||
in [
|
||||
# We don't want to rebuild Hackage simply due to a reboot, do we? }:)
|
||||
(lib.removePrefix "${config.home.homeDirectory}/"
|
||||
"${xdg-cache-dir}/cabal")
|
||||
".stack"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
syd/which-key
|
||||
syd/tramp
|
||||
syd/handle
|
||||
syd/flycheck
|
||||
syd/org
|
||||
syd/org/roam
|
||||
syd/org/agenda
|
||||
@@ -61,6 +62,7 @@
|
||||
syd/wgrep
|
||||
syd/nix
|
||||
syd/backup
|
||||
syd/flycheck
|
||||
syd/agda
|
||||
syd/eshell
|
||||
syd/treesit
|
||||
|
||||
14
modules/home/users/msyds/emacs/lisp/syd/flycheck.el
Normal file
14
modules/home/users/msyds/emacs/lisp/syd/flycheck.el
Normal file
@@ -0,0 +1,14 @@
|
||||
;;; -*- lexical-binding: t -*-
|
||||
|
||||
(require 'syd/base)
|
||||
(require 'syd/popups)
|
||||
|
||||
;; Nicer error messages, integrates with `lsp-mode'
|
||||
(use-package flycheck
|
||||
:custom ((flycheck-highlighting-mode nil))
|
||||
:general
|
||||
(:states '(motion normal)
|
||||
"[ e" #'flycheck-previous-error
|
||||
"] e" #'flycheck-next-error))
|
||||
|
||||
(provide 'syd/flycheck)
|
||||
@@ -25,7 +25,10 @@
|
||||
|
||||
(defun syd-haskell-hoogle-start-server ()
|
||||
(interactive)
|
||||
(require 'haskell-hoogle)
|
||||
(haskell-hoogle-start-server)
|
||||
(browse-url-xdg-open (format "http://localhost:%d"
|
||||
haskell-hoogle-port-number))
|
||||
(message "Hoogle started on localhost:%d" haskell-hoogle-port-number))
|
||||
|
||||
(use-package haskell-mode
|
||||
|
||||
@@ -39,9 +39,13 @@
|
||||
:select nil :size 0.42 :popup t :align bottom))
|
||||
(defun syd-lsp-handle-docs ()
|
||||
(interactive)
|
||||
(lsp-describe-thing-at-point)
|
||||
(get-buffer "*lsp-help*"))
|
||||
(save-excursion
|
||||
(when evil-mode (forward-char)) ; evil-mode cope
|
||||
(lsp-describe-thing-at-point))
|
||||
(with-current-buffer (get-buffer "*lsp-help*")
|
||||
(and (not (string-empty-p (string-trim (buffer-string))))
|
||||
(current-buffer))))
|
||||
(syd-handle 'lsp-mode
|
||||
:docs #'syd-lsp-handle-docs)))
|
||||
:docs #'syd-lsp-handle-docs))
|
||||
|
||||
(provide 'syd/lsp)
|
||||
|
||||
@@ -50,6 +50,9 @@
|
||||
flatpak.enable = on "sydpc";
|
||||
drawing-tablet.enable = on "sydpc";
|
||||
easyeffects.enable = on "sydpc";
|
||||
ryujinx.enable = on "sydpc";
|
||||
haskell.enable = true;
|
||||
kerbal-space-program.enable = on "sydpc";
|
||||
sops = {
|
||||
enable = true;
|
||||
keyFile = "/persist/private-keys/age/crumb";
|
||||
|
||||
Reference in New Issue
Block a user