From f6cf9bea4125ce0501c72374fa4ed82dc03d3147 Mon Sep 17 00:00:00 2001 From: schererleander Date: Sun, 11 May 2025 16:48:04 +0200 Subject: chore, formatting --- modules/nixcord.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/nixcord.nix') 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 -- cgit v1.3.1