24 lines
507 B
Nix
24 lines
507 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
# Vesktop, a Discord client with Vencord built in.
|
|
let
|
|
user = config.user.name;
|
|
in
|
|
{
|
|
options.modules.desktop.apps.vencord.enable =
|
|
lib.mkEnableOption "Vesktop, a Discord client with Vencord built in";
|
|
|
|
config = lib.mkIf config.modules.desktop.apps.vencord.enable {
|
|
home-manager.users.${user}.home.packages = [ pkgs.vesktop ];
|
|
|
|
registry.window-icon.${config.networking.hostName}.vesktop = {
|
|
class = "[Vv]esktop";
|
|
icon = "f1ff";
|
|
};
|
|
};
|
|
}
|