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

@ -10,7 +10,7 @@
#Nix flake file limit: ulimit -n 500000
{ inputs, config, pkgs, lib, username, host, version, system, ... }:
{ inputs, config, pkgs, lib, username, project, host, version, system, ... }:
{
# in configuration.nix
#Assign Swap to the PC
@ -87,7 +87,7 @@
useUserPackages = true;
users.${username} = ./home.nix;
backupFileExtension = "backup"; # Automatically backs up conflicting files during activation
extraSpecialArgs = { inherit inputs username version system host; };
extraSpecialArgs = { inherit inputs username project version system host; };
sharedModules = [ inputs.plasma-manager.homeModules.plasma-manager ];
};