From 9f09a21dabd5f049ee6a5687b3769a2af832a195 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 20 Jan 2024 13:40:22 +0300 Subject: [PATCH] Use gruvbox icons from nixpkgs wohoo --- derivations/gruvbox-plus-icon-pack.nix | 47 -------------------------- flake.nix | 2 +- modules/kitty.nix | 2 -- 3 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 derivations/gruvbox-plus-icon-pack.nix diff --git a/derivations/gruvbox-plus-icon-pack.nix b/derivations/gruvbox-plus-icon-pack.nix deleted file mode 100644 index eb2ffd5..0000000 --- a/derivations/gruvbox-plus-icon-pack.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - lib -, stdenvNoCC -, fetchFromGitHub -, gtk3 -, breeze-icons -, gnome-icon-theme -, hicolor-icon-theme -}: - -stdenvNoCC.mkDerivation { - pname = "gruvbox-plus-icon-pack"; - version = "unstable-2023-12-07"; - - src = fetchFromGitHub { - owner = "SylEleuth"; - repo = "gruvbox-plus-icon-pack"; - rev = "f3109979fe93b31ea14eb2d5c04247a895302ea0"; - sha256 = "sha256-EijTEDkPmcDcMhCuL6fOWjU9eXFUwmeOEwfGlxadb1U="; - }; - - nativeBuildInputs = [ gtk3 ]; - - propagatedBuildInputs = [ breeze-icons gnome-icon-theme hicolor-icon-theme ]; - - installPhase = '' - runHook preInstall - - mkdir -p $out/share/icons - cp -r Gruvbox-Plus-Dark $out/share/icons/ - gtk-update-icon-cache $out/share/icons/Gruvbox-Plus-Dark - - runHook postInstall - ''; - - dontDropIconThemeCache = true; - dontBuild = true; - dontConfigure = true; - - meta = with lib; { - description = "Icon pack for Linux desktops based on the Gruvbox color scheme"; - homepage = "https://github.com/SylEleuth/gruvbox-plus-icon-pack"; - license = licenses.gpl3Only; - platforms = platforms.linux; - maintainers = with maintainers; [ eureka-cpu RGBCube ]; - }; -} diff --git a/flake.nix b/flake.nix index 6b9aea3..c5b43ab 100644 --- a/flake.nix +++ b/flake.nix @@ -152,7 +152,7 @@ font.mono.package = (pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; }); icons.name = "Gruvbox-Plus-Dark"; - icons.package = pkgs.callPackage (import ./derivations/gruvbox-plus-icon-pack.nix) {}; + icons.package = pkgs.gruvbox-plus-icons; }); defaultConfiguration = { diff --git a/modules/kitty.nix b/modules/kitty.nix index f27c1b5..5294193 100644 --- a/modules/kitty.nix +++ b/modules/kitty.nix @@ -8,8 +8,6 @@ desktopHomeConfiguration { size = size.normal; }; - theme = "Gruvbox Dark"; - settings = { allow_remote_control = true; confirm_os_window_close = 0;