diff --git a/flake.lock b/flake.lock index 612d2ed..80f95af 100644 --- a/flake.lock +++ b/flake.lock @@ -102,6 +102,20 @@ } }, "flake-compat_3": { + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "revCount": 57, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" + } + }, + "flake-compat_4": { "flake": false, "locked": { "lastModified": 1696426674, @@ -117,7 +131,7 @@ "type": "github" } }, - "flake-compat_4": { + "flake-compat_5": { "locked": { "lastModified": 1733328505, "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", @@ -211,7 +225,7 @@ }, "flake-utils": { "inputs": { - "systems": "systems_3" + "systems": "systems_4" }, "locked": { "lastModified": 1731533236, @@ -803,11 +817,32 @@ "type": "github" } }, - "nixos-cli": { + "nixcord": { "inputs": { "flake-compat": "flake-compat_3", - "flake-parts": "flake-parts_2", "nixpkgs": "nixpkgs_3", + "systems": "systems_3", + "treefmt-nix": "treefmt-nix" + }, + "locked": { + "lastModified": 1739408191, + "narHash": "sha256-r0662zux0hM5OTdEMR3DLE6MlFNK9Xya8wmwRyKWCO0=", + "owner": "kaylorben", + "repo": "nixcord", + "rev": "13e0ab2cc99c9fd26121c50b7e75bda5745f17cf", + "type": "github" + }, + "original": { + "owner": "kaylorben", + "repo": "nixcord", + "type": "github" + } + }, + "nixos-cli": { + "inputs": { + "flake-compat": "flake-compat_4", + "flake-parts": "flake-parts_2", + "nixpkgs": "nixpkgs_5", "zig-deps-fod": "zig-deps-fod" }, "locked": { @@ -912,6 +947,38 @@ } }, "nixpkgs_3": { + "locked": { + "lastModified": 1737003892, + "narHash": "sha256-RCzJE9wKByLCXmRBp+z8LK9EgdW+K+W/DXnJS4S/NVo=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "ae06b9c2d83cb5c8b12d7d0e32692e93d1379713", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { + "locked": { + "lastModified": 1735554305, + "narHash": "sha256-zExSA1i/b+1NMRhGGLtNfFGXgLtgo+dcuzHzaWA6w3Q=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "0e82ab234249d8eee3e8c91437802b32c74bb3fd", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { "locked": { "lastModified": 1721970117, "narHash": "sha256-Hwm46lggqtihMaRuxbNaC1ACcU2a0jO/HXqrdjMatXk=", @@ -927,7 +994,7 @@ "type": "github" } }, - "nixpkgs_4": { + "nixpkgs_6": { "locked": { "lastModified": 1718428119, "narHash": "sha256-WdWDpNaq6u1IPtxtYHHWpl5BmabtpmLnMAx0RdJ/vo8=", @@ -943,7 +1010,7 @@ "type": "github" } }, - "nixpkgs_5": { + "nixpkgs_7": { "locked": { "lastModified": 1739446958, "narHash": "sha256-+/bYK3DbPxMIvSL4zArkMX0LQvS7rzBKXnDXLfKyRVc=", @@ -959,7 +1026,7 @@ "type": "github" } }, - "nixpkgs_6": { + "nixpkgs_8": { "locked": { "lastModified": 1738142207, "narHash": "sha256-NGqpVVxNAHwIicXpgaVqJEJWeyqzoQJ9oc8lnK9+WC4=", @@ -978,7 +1045,7 @@ "nixvim": { "inputs": { "devshell": "devshell", - "flake-compat": "flake-compat_4", + "flake-compat": "flake-compat_5", "flake-parts": "flake-parts_4", "git-hooks": "git-hooks", "home-manager": "home-manager_2", @@ -987,7 +1054,7 @@ "nixpkgs" ], "nuschtosSearch": "nuschtosSearch", - "treefmt-nix": "treefmt-nix" + "treefmt-nix": "treefmt-nix_2" }, "locked": { "lastModified": 1739632145, @@ -1082,9 +1149,10 @@ "hyprland": "hyprland", "hyprland-qtutils": "hyprland-qtutils_2", "lanzaboote": "lanzaboote", + "nixcord": "nixcord", "nixos-cli": "nixos-cli", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_5", + "nixpkgs": "nixpkgs_7", "nixvim": "nixvim", "spicetify-nix": "spicetify-nix", "walker": "walker" @@ -1116,7 +1184,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_4" + "systems": "systems_5" }, "locked": { "lastModified": 1739223162, @@ -1172,9 +1240,8 @@ "type": "github" }, "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" + "id": "systems", + "type": "indirect" } }, "systems_4": { @@ -1193,6 +1260,21 @@ } }, "systems_5": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_6": { "locked": { "lastModified": 1689347949, "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", @@ -1208,6 +1290,24 @@ } }, "treefmt-nix": { + "inputs": { + "nixpkgs": "nixpkgs_4" + }, + "locked": { + "lastModified": 1737103437, + "narHash": "sha256-uPNWcYbhY2fjY3HOfRCR5jsfzdzemhfxLSxwjXYXqNc=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "d1ed3b385f8130e392870cfb1dbfaff8a63a1899", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, + "treefmt-nix_2": { "inputs": { "nixpkgs": [ "nixvim", @@ -1230,8 +1330,8 @@ }, "walker": { "inputs": { - "nixpkgs": "nixpkgs_6", - "systems": "systems_5" + "nixpkgs": "nixpkgs_8", + "systems": "systems_6" }, "locked": { "lastModified": 1739196332, @@ -1291,7 +1391,7 @@ "zig-deps-fod": { "inputs": { "flake-parts": "flake-parts_3", - "nixpkgs": "nixpkgs_4" + "nixpkgs": "nixpkgs_6" }, "locked": { "lastModified": 1720999842, diff --git a/flake.nix b/flake.nix index 1ca730c..b366fa6 100644 --- a/flake.nix +++ b/flake.nix @@ -50,6 +50,10 @@ walker = { url = "github:abenz1267/walker"; }; + + nixcord = { + url = "github:kaylorben/nixcord"; + }; }; outputs = { diff --git a/hosts/precision-5530/home/modules/socials.nix b/hosts/precision-5530/home/modules/socials.nix index fe378df..706630f 100644 --- a/hosts/precision-5530/home/modules/socials.nix +++ b/hosts/precision-5530/home/modules/socials.nix @@ -1,9 +1,45 @@ -{pkgs, ...}: { +{ + pkgs, + inputs, + ... +}: { + imports = [inputs.nixcord.homeManagerModules.nixcord]; + home.packages = with pkgs; [ zoom-us - vesktop thunderbird element-desktop telegram-desktop ]; + + programs.nixcord = { + enable = true; + config = { + themeLinks = ["https://raw.githubusercontent.com/catppuccin/discord/refs/heads/main/themes/mocha.theme.css"]; + plugins = { + spotifyCrack = { + enable = true; + noSpotifyAutoPause = true; + }; + + streamerModeOnStream.enable = true; + whoReacted.enable = true; + voiceDownload.enable = true; + silentTyping = { + enable = true; + showIcon = true; + isEnabled = true; + }; + silentMessageToggle = { + enable = true; + autoDisable = false; + }; + showHiddenThings.enable = true; + showHiddenChannels.enable = true; + serverInfo.enable = true; + reverseImageSearch.enable = true; + fakeNitro.enable = true; + }; + }; + }; }