feat(easyeffects): init
All checks were successful
build / build (push) Successful in 2m33s

This commit is contained in:
2026-04-12 15:39:38 -06:00
parent 9979cf0497
commit b7d32b5bc7
4 changed files with 802 additions and 0 deletions

View File

@@ -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.
'';
};
}