This commit is contained in:
2024-03-17 16:18:24 +00:00
parent a7af799ca6
commit 7a43e9b19d
2 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -61,7 +61,7 @@
};
displayManager = {
sddm.enable = true;
sdd.theme = "${import ../../modules/themes/sddm-theme.nix { inherit pkgs; }}";
sddm.theme = "${import ../../modules/themes/sddm-theme.nix { inherit pkgs; }}";
sessionPackages = [ pkgs.hyprland ];
};
windowManager.i3.enable = true;
+7 -6
View File
@@ -1,11 +1,12 @@
{ pkgs }:
let
imgLink = "https://github.com/Liam-Malone/nixos/modules/backgrounds/desert.jpg";
image = pkgs.fetchurl {
url = imgLink;
sha256 = "";
};
# imgLink = "https://github.com/Liam-Malone/nixos/blob/main/modules/backgrounds/desert.jpg";
# image = pkgs.fetchurl {
# url = imgLink;
# sha256 = "1qyra0ps99pi64nhdmn211v8fxh9f6kd5sxpqaz9ab24janmf55c";
# };
image = ../backgrounds/desert.jpg;
in
pkgs.stdenv.mkDerivation {
name = "sddm-theme";
@@ -18,7 +19,7 @@ pkgs.stdenv.mkDerivation {
installPhase = ''
mkdir -p $out
cp -R ./* $out
rm Background.jpg
# rm Background.jpg
cp -r ${image} $out/Background.jpg
'';
}