rebuilding minimised nix files
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user