From 4cff79ad1a57e13eef1409caa534f0287e656a3b Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 30 Aug 2023 19:13:17 +0400 Subject: [PATCH] delete discord --- hosts/sakotop/configuration.nix | 1 - modules/desktop/chat/default.nix | 1 - modules/desktop/chat/discord/default.nix | 16 ---------------- 3 files changed, 18 deletions(-) delete mode 100644 modules/desktop/chat/discord/default.nix diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 04d0a6be..fd84eab6 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -39,7 +39,6 @@ nextcloud.enable = true; }; chat = { - discord.enable = true; }; game = { wine.enable = true; diff --git a/modules/desktop/chat/default.nix b/modules/desktop/chat/default.nix index 52b27062..f7e9be4a 100644 --- a/modules/desktop/chat/default.nix +++ b/modules/desktop/chat/default.nix @@ -1,5 +1,4 @@ { imports = [ - ./discord ]; } diff --git a/modules/desktop/chat/discord/default.nix b/modules/desktop/chat/discord/default.nix deleted file mode 100644 index 96521558..00000000 --- a/modules/desktop/chat/discord/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ outputs, options, config, lib, pkgs, ...}: -with lib; -let - cfg = config.modules.desktop.chat.discord; -in -{ - options.modules.desktop.chat.discord = { - enable = mkEnableOption false; - }; - - config = mkIf cfg.enable { - users.users.sako.packages = with pkgs; [ - discord - ]; - }; -}