mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
13 lines
286 B
Nix
13 lines
286 B
Nix
{ lib, config, ... }:
|
|
let
|
|
moduleName = "spotify-player";
|
|
in
|
|
{
|
|
options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings";
|
|
config = lib.mkIf config.swarselmodules.${moduleName} {
|
|
programs.${moduleName} = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
}
|