rebuilding minimised nix files
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.bash ];
|
||||
home.activation = {
|
||||
recreateConfig = {
|
||||
text = ''
|
||||
#!${pkgs.bash}/bin/bash
|
||||
"${flakeRoot}/assets/scripts/recreate_config.sh"
|
||||
'';
|
||||
deps = [ pkgs.bash ];
|
||||
};
|
||||
home.activation.recreateConfig = {
|
||||
text = ''
|
||||
#!${pkgs.bash}/bin/bash
|
||||
set -euo pipefail
|
||||
echo "Running post-activation script..."
|
||||
"${flakeRoot}/assets/scripts/recreate_config.sh"
|
||||
'';
|
||||
deps = [ pkgs.bash ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user