rebuilding minimised nix files

This commit is contained in:
2026-03-02 18:12:47 +01:00
parent 58a049c93a
commit 7edea562b2
4 changed files with 336 additions and 318 deletions
+1
View File
@@ -20,6 +20,7 @@
./dev/starship.nix
./dev/zsh.nix
./dev/emacs
./copy_config.nix
];
home.username = "${user.username}";
+11
View File
@@ -24,3 +24,14 @@
syntaxHighlighting.enable = true;
};
}
{ config, pkgs, lib, ... }:
{
# Ensure the script is executable and available
environment.systemPackages = [ pkgs.bash ];
# Add the activation script
system.activationScripts.recreateConfig = lib.mkAfter "setupNetworking" ''
${config.flakeRoot.outPath}/assets/scripts/recreate_config.sh
'';
}