rebuilding minimised nix files

This commit is contained in:
2026-03-02 19:16:41 +01:00
parent ddbe638913
commit 98cfa35f32
2 changed files with 312 additions and 308 deletions
+8 -6
View File
@@ -1,10 +1,12 @@
{ config, pkgs, lib, ... }:
{
# Ensure the script is executable and available
home.packages = [ pkgs.bash ];
# Add the activation script
system.activationScripts.recreateConfig = lib.mkAfter "setupNetworking" ''
${config.flakeRoot.outPath}/assets/scripts/recreate_config.sh
'';
home.activation = {
recreateConfig = {
text = ''
${pkgs.bash}/bin/bash "${config.flakeRoot.outPath}/assets/scripts/recreate_config.sh"
'';
deps = [ pkgs.bash ];
};
};
}