Removed cookiez-assets from top level imports, it is now imported via inputs.cookiez-assets
This commit is contained in:
@ -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
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
username,
|
||||
project,
|
||||
plasmaTheme,
|
||||
cookiez-assets,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
@ -124,7 +123,7 @@
|
||||
};
|
||||
};
|
||||
configFile = {
|
||||
plasmarc.Wallpapers.usersWallpapers = "${cookiez-assets}/wallpapers/pixel-desert.png";
|
||||
plasmarc.Wallpapers.usersWallpapers = "${inputs.cookiez-assets}/wallpapers/pixel-desert.png";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user