[spotify] Move adblock around
This commit is contained in:
parent
9e692e6a41
commit
698876102e
4 changed files with 23 additions and 11 deletions
|
@ -3,5 +3,6 @@
|
|||
./home-manager
|
||||
./sops
|
||||
./ssh
|
||||
./spotify-adblock
|
||||
];
|
||||
}
|
||||
|
|
11
nixos/modules/programs/spotify-adblock/default.nix
Normal file
11
nixos/modules/programs/spotify-adblock/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ 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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue