From 869738e25b66a9bc3220f4fd3e07cfab929704fb Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 21 Aug 2024 19:16:31 +0400 Subject: [PATCH] add cinny sgtable --- modules/desktop/chat/cinny/default.nix | 22 ++++++++++++++++++++++ modules/desktop/chat/default.nix | 1 + 2 files changed, 23 insertions(+) create mode 100644 modules/desktop/chat/cinny/default.nix diff --git a/modules/desktop/chat/cinny/default.nix b/modules/desktop/chat/cinny/default.nix new file mode 100644 index 00000000..2c092249 --- /dev/null +++ b/modules/desktop/chat/cinny/default.nix @@ -0,0 +1,22 @@ +{ + outputs, + options, + config, + lib, + pkgs, + ... +}: +let + cfg = config.modules.desktop.chat.cinny; +in { + options.modules.desktop.chat.cinny = { + enable = lib.mkEnableOption false; + }; + + config = lib.mkIf cfg.enable { + users.users.sako.packages = with pkgs.stable; [ + cinny-desktop + ]; + + }; +} diff --git a/modules/desktop/chat/default.nix b/modules/desktop/chat/default.nix index 55e57b35..cb194e70 100644 --- a/modules/desktop/chat/default.nix +++ b/modules/desktop/chat/default.nix @@ -7,5 +7,6 @@ ./telegram ./weechat ./signal + ./cinny ]; }