mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Use gruvbox icons from nixpkgs wohoo
This commit is contained in:
parent
1125182979
commit
9f09a21dab
3 changed files with 1 additions and 50 deletions
|
@ -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 ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -152,7 +152,7 @@
|
||||||
font.mono.package = (pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; });
|
font.mono.package = (pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; });
|
||||||
|
|
||||||
icons.name = "Gruvbox-Plus-Dark";
|
icons.name = "Gruvbox-Plus-Dark";
|
||||||
icons.package = pkgs.callPackage (import ./derivations/gruvbox-plus-icon-pack.nix) {};
|
icons.package = pkgs.gruvbox-plus-icons;
|
||||||
});
|
});
|
||||||
|
|
||||||
defaultConfiguration = {
|
defaultConfiguration = {
|
||||||
|
|
|
@ -8,8 +8,6 @@ desktopHomeConfiguration {
|
||||||
size = size.normal;
|
size = size.normal;
|
||||||
};
|
};
|
||||||
|
|
||||||
theme = "Gruvbox Dark";
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
allow_remote_control = true;
|
allow_remote_control = true;
|
||||||
confirm_os_window_close = 0;
|
confirm_os_window_close = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue