From c1fde985f083c65a3785174eef6602c7cd55d186 Mon Sep 17 00:00:00 2001 From: Emmet Date: Fri, 25 Apr 2025 11:13:52 -0500 Subject: [PATCH] fix phoenix build when dotfiles are unlocked --- modules/system/phoenix/default.nix | 2 ++ 1 file changed, 2 insertions(+) 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;