diff options
| author | schererleander <leander@schererleander.de> | 2025-05-11 16:48:04 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-05-11 16:48:04 +0200 |
| commit | f6cf9bea4125ce0501c72374fa4ed82dc03d3147 (patch) | |
| tree | 6fd9db4633b06a892456c4e58ccec9a9644af55e /modules/nixcord.nix | |
| parent | ac5d4c921a776b991db0f9e23cc283c1a401fd45 (diff) | |
chore, formatting
Diffstat (limited to 'modules/nixcord.nix')
| -rw-r--r-- | modules/nixcord.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/nixcord.nix b/modules/nixcord.nix index fa0135b..0be180b 100644 --- a/modules/nixcord.nix +++ b/modules/nixcord.nix @@ -1,10 +1,8 @@ { config, lib, pkgs, inputs, ... }: -let - cfg = config.nixcord; -in { +{ options.nixcord.enable = lib.mkEnableOption "Enable nixcord and setup"; - config = lib.mkIf cfg.enable { + config = lib.mkIf config.nixcord.enable { programs.nixcord = { enable = true; # enable Nixcord. Also installs discord package #quickCss = "some CSS"; # quickCSS file |
