cleaning up config
This commit is contained in:
parent
4231d1fcc3
commit
3d301d4572
7 changed files with 74 additions and 362 deletions
18
modules/nixos/apps/teamspeak/default.nix
Normal file
18
modules/nixos/apps/teamspeak/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
let
|
||||
cfg = config.wyrdgard.apps.teamspeak;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.apps.teamspeak = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable basic configuration";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ teamspeak_client ]; };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue