From a88204fbc9ddec3474186bc5a3f3c573ee787289 Mon Sep 17 00:00:00 2001 From: schererleander Date: Tue, 3 Feb 2026 17:55:59 +0100 Subject: refactor(module): simplify modules and integrate sops-nix --- modules/home/media/nixcord/default.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'modules/home/media/nixcord/default.nix') diff --git a/modules/home/media/nixcord/default.nix b/modules/home/media/nixcord/default.nix index 8f3b665..c7f2b4b 100644 --- a/modules/home/media/nixcord/default.nix +++ b/modules/home/media/nixcord/default.nix @@ -5,16 +5,11 @@ }: let cfg = config.nx.media.nixcord; - inherit (lib) mkEnableOption mkOption types mkIf; + inherit (lib) mkEnableOption mkIf; in { options.nx.media.nixcord = { enable = mkEnableOption "nixcord and setup"; - frameless = mkOption { - description = "Make discord frameless"; - type = types.bool; - default = true; - }; }; config = mkIf cfg.enable { programs.nixcord = { @@ -23,7 +18,7 @@ in themeLinks = [ "https://refact0r.github.io/system24/theme/system24.theme.css" ]; - frameless = cfg.frameless; + frameless = true; plugins = { alwaysAnimate.enable = false; imageLink.enable = true; @@ -33,4 +28,4 @@ in }; }; }; -} +} \ No newline at end of file -- cgit v1.3.1