rebuilding minimised nix files
This commit is contained in:
1 parent
ddbe638913
commit
98cfa35f32
2 files changed
+312
-308
No files matched your search
+304
-302
File diff suppressed because it is too large.
Load diff
@@ -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