Compare commits

..

2 Commits

Author SHA1 Message Date
henrov 98cfa35f32 rebuilding minimised nix files 2026-03-02 19:16:41 +01:00
henrov ddbe638913 Home manager module rewrite 2026-03-02 19:16:36 +01:00
3 changed files with 320 additions and 314 deletions
+304 -302
View File
File diff suppressed because it is too large Load Diff
+8 -6
View File
@@ -2909,13 +2909,15 @@ This makes sure all ./assets/copy_stuff ends up in the right folder
#+begin_src nix :tangle home/copy_stuff.nix :noweb tangle :mkdirp yes.
{ 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 ];
};
};
}
#+end_src
+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 ];
};
};
}