aight, making progress
This commit is contained in:
parent
c2d6c719a2
commit
9aa634bd71
37 changed files with 451 additions and 620 deletions
15
modules/home/application/discord/default.nix
Normal file
15
modules/home/application/discord/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ inputs, config, lib, pkgs, namespace, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.${namespace}.application.discord;
|
||||
in
|
||||
{
|
||||
options.${namespace}.application.discord = {
|
||||
enable = mkEnableOption "enable discord (vesktop)";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ vesktop ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue