2023-11-05 04:53:31 -03:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
let
|
2024-03-15 23:39:44 -03:00
|
|
|
imgLink = "https://w.wallhaven.cc/full/yj/wallhaven-yjq257.png";
|
2023-11-05 04:53:31 -03:00
|
|
|
|
|
|
|
image = pkgs.fetchurl {
|
|
|
|
url = imgLink;
|
2024-03-15 23:39:44 -03:00
|
|
|
sha256 = "sha256-lrQv8VAks86zMzRaF9VEZotp78O9M7/dV8jZNTRb6SY=";
|
2023-11-05 04:53:31 -03:00
|
|
|
};
|
2024-04-04 15:24:35 -03:00
|
|
|
in pkgs.stdenv.mkDerivation {
|
2023-11-05 04:53:31 -03:00
|
|
|
name = "sddm-theme";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "MarianArlt";
|
|
|
|
repo = "sddm-sugar-dark";
|
|
|
|
rev = "ceb2c455663429be03ba62d9f898c571650ef7fe";
|
|
|
|
sha256 = "0153z1kylbhc9d12nxy9vpn0spxgrhgy36wy37pk6ysq7akaqlvy";
|
|
|
|
};
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -R ./* $out/
|
|
|
|
cd $out/
|
|
|
|
rm Background.jpg
|
|
|
|
cp -r ${image} $out/Background.jpg
|
2024-01-16 11:33:01 -03:00
|
|
|
'';
|
2023-11-05 04:53:31 -03:00
|
|
|
}
|