You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when running nixos rebuild by nix run (which from what I know, calls activate script under the hood), the current nixos repo is first built into nix store, then nixos-rebuild is called like nixos-rebuild switch --flake /nix/store/26q0j2a3f92vsjhi3bwad8gfsbwhll9f-nixos-unified-activate.
However, the source code inside nix store is no longer a git repo, that system.configurationRevision = self.rev no longer works, so in order to not break my config I have to manually run nixos-rebuild switch instead of nix run.
I'm not a nix expert so correct me if i'm wrong ;p