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, ... }:
|
{ 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