Removed cookiez-assets from top level imports, it is now imported via inputs.cookiez-assets

This commit is contained in:
2026-05-28 14:59:47 +02:00
parent 89a2eb335e
commit 1221a3a984
5 changed files with 29 additions and 33 deletions

View File

@ -1,20 +1,20 @@
{
config,
inputs,
pkgs,
username,
project,
cookiez-assets,
...
}: let
# Define the custom background package with the correct relative path
# background-package = pkgs.stdenvNoCC.mkDerivation {
# name = "background-image";
# src = ../other/wallpaper4.png; # Place wallpaper.jpg in the same directory as this config file
# dontUnpack = true;
# installPhase = ''
# cp $src $out
# '';
# };
background-package = pkgs.stdenvNoCC.mkDerivation {
name = "background-image";
src = "${inputs.cookiez-assets}/wallpapers/forest-cat.png"; # Place wallpaper.jpg in the same directory as this config file
dontUnpack = true;
installPhase = ''
cp $src $out
'';
};
plasmaTheme = "desktop"; #Possible values are "laptop" or "desktop"
powerProfile = "laptop"; #Possible values are "laptop" or "desktop"
in {
@ -25,7 +25,7 @@ in {
# Pass the variable to home-manager
home-manager.extraSpecialArgs = {
inherit plasmaTheme powerProfile cookiez-assets;
inherit plasmaTheme powerProfile;
};
home-manager.sharedModules = [
@ -80,10 +80,10 @@ in {
];
systemPackages = with pkgs; [
#(pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
# [General]
# background = "${background-package}"
#'') #Custom SDDM theme with background image
(pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
[General]
background = "${background-package}"
'') #Custom SDDM theme with background image
kdePackages.plymouth-kcm
xdg-desktop-portal
kdePackages.xdg-desktop-portal-kde