Initial add of custom delta-icon-theme
This commit is contained in:
parent
11634c227d
commit
b49e18f0db
44
desktop/pkgs/delta-icon-theme/default.nix
Normal file
44
desktop/pkgs/delta-icon-theme/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchFromGitHub,
|
||||||
|
gtk3,
|
||||||
|
}: {
|
||||||
|
delta-icon-theme = stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "delta-icon-theme";
|
||||||
|
version = "194df98e422c0a81912194808b76712bf5d78803";
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Delta-Icons";
|
||||||
|
repo = "linux";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-SSkI5Aj/TTHfDRYCWe7Ell6cWvPmBUeO/AC4xRrEUvU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [gtk3];
|
||||||
|
|
||||||
|
dontDropIconThemeCache = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/share/icons
|
||||||
|
mv Delta $out/share/icons
|
||||||
|
|
||||||
|
for theme in $out/share/icons/*; do
|
||||||
|
gtk-update-icon-cache --force $theme
|
||||||
|
done
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
# meta = with lib; {
|
||||||
|
# description = "Delta icon theme";
|
||||||
|
# homepage = "https://github.com/Delta-Icons/Linux";
|
||||||
|
# license = licenses.gpl3Only;
|
||||||
|
# # darwin gives hash mismatch in source, probably because of file names differing only in case
|
||||||
|
# platforms = platforms.linux;
|
||||||
|
# maintainers = with maintainers; [];
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,8 +1,9 @@
|
||||||
{
|
{
|
||||||
stdenv,
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
}: {
|
}: {
|
||||||
sddm-catppuccin-macchiato = stdenv.mkDerivation rec {
|
sddm-catppuccin-macchiato = stdenvNoCC.mkDerivation rec {
|
||||||
pname = "sddm-catppuccin-macchiato-theme";
|
pname = "sddm-catppuccin-macchiato-theme";
|
||||||
version = "1.0";
|
version = "1.0";
|
||||||
dontBuild = true;
|
dontBuild = true;
|
|
@ -1,4 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: let
|
||||||
|
delta-icon-theme = pkgs.callPackage ./pkgs/delta-icon-theme {};
|
||||||
|
in {
|
||||||
imports = [./xserver.nix ./sddm.nix];
|
imports = [./xserver.nix ./sddm.nix];
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
services.xserver.desktopManager.plasma5.enable = true;
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
|
@ -6,6 +8,7 @@
|
||||||
libsForQt5.lightly
|
libsForQt5.lightly
|
||||||
libsForQt5.kwindowsystem
|
libsForQt5.kwindowsystem
|
||||||
catppuccin-kde
|
catppuccin-kde
|
||||||
pkgs.papirus-icon-theme
|
papirus-icon-theme
|
||||||
|
delta-icon-theme
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{pkgs, ...}: let
|
{pkgs, ...}: let
|
||||||
sddm-catppuccin-macchiato = pkgs.callPackage ./pkgs/sddm-catppuccin-macchiato.nix {};
|
sddm-catppuccin-macchiato = pkgs.callPackage ./pkgs/sddm-catppuccin-macchiato {};
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
sddm-catppuccin-macchiato.sddm-catppuccin-macchiato
|
sddm-catppuccin-macchiato.sddm-catppuccin-macchiato
|
||||||
|
|
Loading…
Reference in a new issue