mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 17:19:45 +01:00
home-environment: allow skipping sanity checks
See https://github.com/nix-community/home-manager/issues/4019#issuecomment-1568659267
This commit is contained in:
parent
1b61530608
commit
9a76fb9a85
1 changed files with 4 additions and 2 deletions
|
@ -711,8 +711,10 @@ in
|
||||||
|
|
||||||
${builtins.readFile ./lib-bash/activation-init.sh}
|
${builtins.readFile ./lib-bash/activation-init.sh}
|
||||||
|
|
||||||
checkUsername ${escapeShellArg config.home.username}
|
if [[ ! -v SKIP_SANITY_CHECKS ]]; then
|
||||||
checkHomeDirectory ${escapeShellArg config.home.homeDirectory}
|
checkUsername ${escapeShellArg config.home.username}
|
||||||
|
checkHomeDirectory ${escapeShellArg config.home.homeDirectory}
|
||||||
|
fi
|
||||||
|
|
||||||
${activationCmds}
|
${activationCmds}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue