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 ]; }