14 lines
322 B
Nix
14 lines
322 B
Nix
{ config, pkgs, lib, flakeRoot, ... }:
|
|
{
|
|
home.packages = [ 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 ];
|
|
};
|
|
}
|