sisyphus/nixos/modules/programs/spotify-adblock/default.nix

12 lines
318 B
Nix
Raw Normal View History

2023-10-24 12:43:44 +02:00
{ config, lib, pkgs, ... }:
let
cfg = config.sisyphus.programs.spotify-adblock;
in {
options.sisyphus.programs.spotify-adblock.enable = lib.mkEnableOption "Spotify adblock";
config = lib.mkIf cfg.enable {
environment.etc."spotify-adblock/config.toml".source = "${pkgs.spotify-adblock}/config.toml";
};
}