nix-config/modules/home/discord/default.nix
Bruno BELANYI 29fb7c5066
All checks were successful
ci/woodpecker/push/check Pipeline was successful
home: discord: use upstream module
2025-11-17 13:58:13 +00:00

24 lines
472 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.my.home.discord;
in
{
options.my.home.discord = with lib; {
enable = mkEnableOption "discord configuration";
package = mkPackageOption pkgs "discord" { };
};
config = lib.mkIf cfg.enable {
programs.discord = {
enable = true;
inherit (cfg) package;
settings = {
# Do not keep me from using the app just to force an update
SKIP_HOST_UPDATE = true;
};
};
};
}