From 7a43e9b19d02874acd53877e1875e32a06ee8ae1 Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Sun, 17 Mar 2024 16:18:24 +0000 Subject: [PATCH] . --- hosts/default/configuration.nix | 2 +- modules/themes/sddm-theme.nix | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 5a5cbf3..36a4e62 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -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; diff --git a/modules/themes/sddm-theme.nix b/modules/themes/sddm-theme.nix index 66a9672..b72c546 100644 --- a/modules/themes/sddm-theme.nix +++ b/modules/themes/sddm-theme.nix @@ -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 ''; }