#2 adding basic configs still some missing
This commit is contained in:
parent
1286b79757
commit
69cb32282f
9 changed files with 114 additions and 10 deletions
16
modules/nixos/apps/discord/default.nix
Normal file
16
modules/nixos/apps/discord/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue