mrflos-nixos-config-fork/modules/sddm-rose-pine.nix

26 lines
507 B
Nix
Raw Normal View History

2024-09-05 12:39:17 +00:00
{
stdenvNoCC,
fetchFromGitHub,
libsForQt5,
}:
stdenvNoCC.mkDerivation rec {
pname = "sddm-rose-pine-theme";
version = "1.2";
dontBuild = true;
2024-09-05 12:39:17 +00:00
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
'';
}