Set project name as a varible in flake so it can be changed easier.

This commit is contained in:
2025-12-11 16:20:20 +01:00
parent e0daa8743d
commit 7b51a603c4
9 changed files with 35 additions and 26 deletions

View File

@ -1,4 +1,4 @@
{config, pkgs, username, ...}:
{config, pkgs, username, project, ...}:
let
# Define the custom background package with the correct relative path
background-package = pkgs.stdenvNoCC.mkDerivation {
@ -71,8 +71,8 @@ in
#};
system.activationScripts.script.text = ''
source /home/cookiez/NixOS/other/colors.sh
source /home/cookiez/NixOS/other/pfp.sh
source /home/${username}/${project}/other/colors.sh
source /home/${username}/${project}/other/pfp.sh
'';
#services.displayManager.sddm = {