aboutsummaryrefslogtreecommitdiff
path: root/modules/programs/nixcord.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/programs/nixcord.nix')
-rw-r--r--modules/programs/nixcord.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/programs/nixcord.nix b/modules/programs/nixcord.nix
new file mode 100644
index 0000000..191dcfb
--- /dev/null
+++ b/modules/programs/nixcord.nix
@@ -0,0 +1,32 @@
+{
+ config,
+ lib,
+ inputs,
+ username,
+ ...
+}:
+
+{
+ options.nx.programs.nixcord.enable = lib.mkEnableOption "Enable nixcord and setup";
+ config = lib.mkIf config.nx.programs.nixcord.enable {
+ home-manager.users.${username} = { ... }: {
+ imports = [ inputs.nixcord.homeModules.nixcord ];
+
+ programs.nixcord = {
+ enable = true;
+ config = {
+ themeLinks = [
+ "https://refact0r.github.io/system24/theme/system24.theme.css"
+ ];
+ frameless = true;
+ plugins = {
+ alwaysAnimate.enable = false;
+ imageLink.enable = true;
+ imageZoom.enable = true;
+ translate.enable = true;
+ };
+ };
+ };
+ };
+ };
+}