This commit is contained in:
2024-02-07 12:50:09 -06:00
parent 08b736a9b5
commit ceada8a46b
8 changed files with 226 additions and 31 deletions

26
sddm-theme.nix Normal file
View File

@@ -0,0 +1,26 @@
{ stdenvNoCC
, fetchFromGitHub
, libsForQt5
}:
stdenvNoCC.mkDerivation rec {
pname = "sddm-rose-pine-theme";
version = "1.2";
dontBuild = true;
propagatedUserEnvPkgs = [
libsForQt5.qt5.qtgraphicaleffects
];
src = fetchFromGitHub {
owner = "lwndhrst";
repo = "sddm-rose-pine";
rev = "v${version}";
sha256 = "+WOdazvkzpOKcoayk36VLq/6lLOHDWkDykDsy8p87JE=";
};
installPhase = ''
mkdir -p $out/share/sddm/themes
cp -aR $src $out/share/sddm/themes/rose-pine
'';
}