Error: opening lock file '/nix/var/nix/profiles/per-user/myuser/home-manager.lock': Permission denied

Appears to be known issue, sorry for the noise opening lock file '/nix/var/nix/profiles/per-user/root/home-manager.lock': No such file or directory · Issue #3734 · nix-community/home-manager · GitHub