rebuilding minimised nix files
This commit is contained in:
+305
-304
File diff suppressed because it is too large
Load Diff
@@ -2910,18 +2910,19 @@ This makes sure all ./assets/copy_stuff ends up in the right folder
|
|||||||
{ config, pkgs, lib, flakeRoot, ... }:
|
{ config, pkgs, lib, flakeRoot, ... }:
|
||||||
{
|
{
|
||||||
home.packages = [ pkgs.bash ];
|
home.packages = [ pkgs.bash ];
|
||||||
home.activation = {
|
home.activation.recreateConfig = {
|
||||||
recreateConfig = {
|
text = ''
|
||||||
text = ''
|
#!${pkgs.bash}/bin/bash
|
||||||
#!${pkgs.bash}/bin/bash
|
set -euo pipefail
|
||||||
"${flakeRoot}/assets/scripts/recreate_config.sh"
|
echo "Running post-activation script..."
|
||||||
'';
|
"${flakeRoot}/assets/scripts/recreate_config.sh"
|
||||||
deps = [ pkgs.bash ];
|
'';
|
||||||
};
|
deps = [ pkgs.bash ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* README Utils
|
* README Utils
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
{ config, pkgs, lib, flakeRoot, ... }:
|
{ config, pkgs, lib, flakeRoot, ... }:
|
||||||
{
|
{
|
||||||
home.packages = [ pkgs.bash ];
|
home.packages = [ pkgs.bash ];
|
||||||
home.activation = {
|
home.activation.recreateConfig = {
|
||||||
recreateConfig = {
|
text = ''
|
||||||
text = ''
|
#!${pkgs.bash}/bin/bash
|
||||||
#!${pkgs.bash}/bin/bash
|
set -euo pipefail
|
||||||
"${flakeRoot}/assets/scripts/recreate_config.sh"
|
echo "Running post-activation script..."
|
||||||
'';
|
"${flakeRoot}/assets/scripts/recreate_config.sh"
|
||||||
deps = [ pkgs.bash ];
|
'';
|
||||||
};
|
deps = [ pkgs.bash ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user