#2 adding basic configs still some missing

This commit is contained in:
Christoph Hollizeck 2024-03-26 14:42:36 +00:00
parent db30ab1fa9
commit 4a3a48af59
9 changed files with 114 additions and 10 deletions

View file

@ -0,0 +1,16 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.apps.discord;
in
{
options.wyrdgard.apps.discord = with types; {
enable = mkBoolOpt false "Whether or not to enable basic configuration";
};
config = mkIf cfg.enable {
environment.systemPackages = [
discord
];
};
}