diff --git a/flake.lock b/flake.lock index f8b1d09..26478ae 100644 --- a/flake.lock +++ b/flake.lock @@ -32,6 +32,22 @@ "type": "github" } }, + "discord-tokyonight": { + "flake": false, + "locked": { + "lastModified": 1629986468, + "narHash": "sha256-QK9LfLca3eFZgq4TutQv98Kc5p0yqtQdAL/6msWOjyU=", + "owner": "DanisDGK", + "repo": "zelk-customizations", + "rev": "930f9d593fa6311445fc06fa5863d8f87f97b7ad", + "type": "github" + }, + "original": { + "owner": "DanisDGK", + "repo": "zelk-customizations", + "type": "github" + } + }, "discord-tweaks": { "flake": false, "locked": { @@ -344,6 +360,7 @@ "inputs": { "better-status-indicators": "better-status-indicators", "channel-typing": "channel-typing", + "discord-tokyonight": "discord-tokyonight", "discord-tweaks": "discord-tweaks", "discover": "discover", "fast-syntax-highlighting": "fast-syntax-highlighting", @@ -363,6 +380,7 @@ "twemoji-but-good": "twemoji-but-good", "view-raw": "view-raw", "who-reacted": "who-reacted", + "zelk": "zelk", "zsh-abbr": "zsh-abbr", "zsh-history-substring-search": "zsh-history-substring-search" } @@ -481,6 +499,22 @@ "type": "github" } }, + "zelk": { + "flake": false, + "locked": { + "lastModified": 1629733004, + "narHash": "sha256-I0gFmGoYRT3Bdi/qw3yzsWZJ8PLU8nRRPdGirO4ADI8=", + "owner": "schnensch0", + "repo": "zelk", + "rev": "4066e60aa999613f6649f453fee72638df749c65", + "type": "github" + }, + "original": { + "owner": "schnensch0", + "repo": "zelk", + "type": "github" + } + }, "zsh-abbr": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index 66ee96f..ade7bf0 100644 --- a/flake.nix +++ b/flake.nix @@ -18,6 +18,7 @@ pure = { url = "github:sindresorhus/pure"; flake = false; }; # overlays + discord-tokyonight = { url = "github:DanisDGK/zelk-customizations"; flake = false; }; discover = { url = "github:trigg/Discover"; flake = false; }; # powercord plugins/themes @@ -35,6 +36,7 @@ radialstatus = { url = "github:DiscordStyles/RadialStatus"; flake = false; }; tokyonight = { url = "github:Dyzean/Tokyo-Night"; flake = false; }; + zelk = { url = "github:schnensch0/zelk"; flake = false; }; }; outputs = { self, nixpkgs, home-manager, secrets, ... } @ inputs: @@ -69,6 +71,7 @@ let callPackage = pkgs.callPackage; in { + discord-tokyonight = callPackage ./packages/discord-tokyonight {}; discover-overlay = callPackage ./packages/discover {}; linux-lava = callPackage ./packages/linux-lava {}; wine-osu = callPackage ./packages/wine-osu { inherit getPaths; }; diff --git a/modules/user/packages-rin.nix b/modules/user/packages-rin.nix index 92247f6..09a0d9c 100644 --- a/modules/user/packages-rin.nix +++ b/modules/user/packages-rin.nix @@ -32,8 +32,10 @@ inputs.who-reacted ]; themes = [ + pkgs.discord-tokyonight inputs.radialstatus inputs.tokyonight + inputs.zelk ]; }) discover-overlay diff --git a/packages/discord-tokyonight/default.nix b/packages/discord-tokyonight/default.nix new file mode 100644 index 0000000..d9a3832 --- /dev/null +++ b/packages/discord-tokyonight/default.nix @@ -0,0 +1,14 @@ +{ + inputs, + stdenvNoCC +}: +stdenvNoCC.mkDerivation { + pname = "discord-tokyonight"; + version = "1.0.0"; + dontUnpack = true; + installPhase = '' + cp -r ${inputs.discord-tokyonight} $out + chmod u+w $out + cp ${./powercord_manifest.json} $out/powercord_manifest.json + ''; +} diff --git a/packages/discord-tokyonight/powercord_manifest.json b/packages/discord-tokyonight/powercord_manifest.json new file mode 100644 index 0000000..16efa69 --- /dev/null +++ b/packages/discord-tokyonight/powercord_manifest.json @@ -0,0 +1,8 @@ +{ + "version": "1.0", + "name": "Tokyo Night Colours", + "author": "DanisDGK", + "license": "MIT", + "theme": "colors/tokyonight_night.css", + "description": "Tokyonight colourscheme" +}