remove official discord client
All checks were successful
ci/woodpecker/cron/flake-update Pipeline was successful
All checks were successful
ci/woodpecker/cron/flake-update Pipeline was successful
This commit is contained in:
parent
57f90786a2
commit
14fe6d9470
|
@ -1,27 +1,12 @@
|
||||||
{
|
{ outputs, options, config, lib, pkgs, ... }:
|
||||||
outputs,
|
|
||||||
options,
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
cfg = config.modules.desktop.chat.discord;
|
cfg = config.modules.desktop.chat.discord;
|
||||||
hyprland = config.modules.desktop.hyprland;
|
hyprland = config.modules.desktop.hyprland;
|
||||||
in {
|
in {
|
||||||
options.modules.desktop.chat.discord = {
|
options.modules.desktop.chat.discord = { enable = lib.mkEnableOption false; };
|
||||||
enable = lib.mkEnableOption false;
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
users.users.sako.packages = [
|
users.users.sako.packages = [ pkgs.vesktop ];
|
||||||
(pkgs.discord.override {
|
|
||||||
withOpenASAR = true;
|
|
||||||
withVencord = true;
|
|
||||||
})
|
|
||||||
pkgs.vesktop
|
|
||||||
];
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue