Files
sydnix/modules/home/easyeffects.nix
Madeleine Sydney Ślaga b7d32b5bc7
All checks were successful
build / build (push) Successful in 2m33s
feat(easyeffects): init
2026-04-14 09:53:56 -06:00

23 lines
540 B
Nix

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