fix phoenix build when dotfiles are unlocked

This commit is contained in:
Emmet
2025-04-25 11:13:52 -05:00
parent 909764d6a9
commit c1fde985f0

View File

@@ -67,6 +67,8 @@
if [ "$#" -gt 1 ]; then
echo "Warning: The 'build' command has no subcommands (no $2 subcommand)";
fi
chown -R 0:0 ${config.systemSettings.dotfilesDir};
chown -R 0:0 ${config.systemSettings.secretsFlakeDir};
pushd ${config.systemSettings.dotfilesDir} &> /dev/null;
nixos-rebuild build --flake .#snowfire;
attic push emmet ./result;