Changed Configurations to use the assets repo instead of paths in main repo

This commit is contained in:
2026-04-14 11:06:44 +02:00
parent 7ed6185b1d
commit 1991a88884
8 changed files with 53 additions and 21 deletions

View File

@ -3,18 +3,18 @@
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 = ../other/wallpaper4.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;
inherit plasmaTheme powerProfile cookiez-assets;
};
home-manager.sharedModules = [
@ -74,7 +74,6 @@ in {
system.activationScripts.script.text = ''
source /home/${username}/${project}/other/colors.sh
source /home/${username}/${project}/other/pfp.sh
'';
environment = {
@ -83,10 +82,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