rebuilding minimised nix files
This commit is contained in:
+304
-302
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,12 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
# Ensure the script is executable and available
|
|
||||||
home.packages = [ pkgs.bash ];
|
home.packages = [ pkgs.bash ];
|
||||||
|
home.activation = {
|
||||||
# Add the activation script
|
recreateConfig = {
|
||||||
system.activationScripts.recreateConfig = lib.mkAfter "setupNetworking" ''
|
text = ''
|
||||||
${config.flakeRoot.outPath}/assets/scripts/recreate_config.sh
|
${pkgs.bash}/bin/bash "${config.flakeRoot.outPath}/assets/scripts/recreate_config.sh"
|
||||||
'';
|
'';
|
||||||
|
deps = [ pkgs.bash ];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user