home: discord: add 'package' option
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This commit is contained in:
Bruno BELANYI 2024-07-08 13:11:30 +00:00
parent abb78d63e2
commit 1644e95243

View file

@ -7,11 +7,13 @@ in
{
options.my.home.discord = with lib; {
enable = mkEnableOption "discord configuration";
package = mkPackageOption pkgs "discord" { };
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
discord
cfg.package
];
xdg.configFile."discord/settings.json".source =