This commit is contained in:
2024-03-17 16:05:49 +00:00
parent 745c51d1ec
commit a7af799ca6
3 changed files with 12 additions and 28 deletions
+12 -3
View File
@@ -1,5 +1,12 @@
{ pkgs }:
let
imgLink = "https://github.com/Liam-Malone/nixos/modules/backgrounds/desert.jpg";
image = pkgs.fetchurl {
url = imgLink;
sha256 = "";
};
in
pkgs.stdenv.mkDerivation {
name = "sddm-theme";
src = pkgs.fetchFromGitHub {
@@ -9,7 +16,9 @@ pkgs.stdenv.mkDerivation {
sha256 = "02idn5hggbqc0j01vhxij5nh748sgva123103d5ir0nl676rl782";
};
installPhase = ''
mkdir -p $out
cp -R ./* $out
'';
mkdir -p $out
cp -R ./* $out
rm Background.jpg
cp -r ${image} $out/Background.jpg
'';
}