diff --git a/modules/system/phoenix/default.nix b/modules/system/phoenix/default.nix index 4d634b6e..60f8c5dd 100644 --- a/modules/system/phoenix/default.nix +++ b/modules/system/phoenix/default.nix @@ -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;