[general] further improve immutability of KDE config
feat: add resources directory feat: update KDE config refactor: remove unused files
This commit is contained in:
parent
bbe6ab62c4
commit
cff1ca5701
13 changed files with 105 additions and 80 deletions
|
@ -2,4 +2,7 @@
|
|||
# You can build them using 'nix build .#example'
|
||||
pkgs: {
|
||||
# example = pkgs.callPackage ./example { };
|
||||
themes = {
|
||||
kde-gruvbox-colors = pkgs.callPackage ./themes/kde-gruvbox-colors.nix { };
|
||||
};
|
||||
}
|
||||
|
|
22
pkgs/themes/kde-gruvbox-colors.nix
Normal file
22
pkgs/themes/kde-gruvbox-colors.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kde-gruvbox-colors";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jokiller230";
|
||||
repo = pname;
|
||||
rev = "438a23c571e22c1bf416c229afac78ad64e81f17";
|
||||
sha256 = "sha256-5iRfWqqtv+ImDN96PuWaS3nuK8AHjfa4DGc8vCkLi4U=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share
|
||||
cp -R color-schemes konsole $out/share
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue