sddm: use static file since wallhaven has been constantly down
This commit is contained in:
parent
310a8765d2
commit
4a5e044c11
2 changed files with 1 additions and 6 deletions
21
theming/sddm/default.nix
Normal file
21
theming/sddm/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ pkgs }:
|
||||
|
||||
let
|
||||
image = ./Background.jpg;
|
||||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
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
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue