Files
samfelag/modules/app/discord.nix
2022-11-19 11:58:21 +01:00

18 lines
274 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.samfelag.modules.app.discord;
in
{
options.samfelag.modules.app.discord = {
enable = mkEnableOption "discord";
};
config = mkIf cfg.enable {
hm.home.packages = with pkgs; [
discord
];
};
}