git init
This commit is contained in:
commit
9a16865ed1
5 changed files with 263 additions and 0 deletions
25
sddm-theme.nix
Normal file
25
sddm-theme.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ pkgs }:
|
||||
let
|
||||
imgLink = "https://github.com/dharmx/walls/blob/main/nature/forrest-cavale-qfmd9bu7IgA-unsplash.jpg?raw=true";
|
||||
|
||||
image = pkgs.fetchurl {
|
||||
url = imgLink;
|
||||
sha256 = "sha256-tyXg61N94KxGTmcY5nyZ2bE7AyDZsnYd5jMO5/j2jgo=";
|
||||
};
|
||||
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