Not a lot of details. Best would be to publish the whole config and whole error.
When was the last time you were able to build the system configuration, and what is the diff on this configuration from then? This diff and the full error would be next best.
Failing that, at least show the lines in your config referring to /home/yada/.config or what you are trying to achieve.
Guess at the moment is something about how you are doing things conflicts with some sort of pure evaluation mechanism. Could also be a build instead of eval error because nixbld doesn’t have access to your home folder. Very hard to be sure of anything with such limited info.
building the system configuration…
error:
… while setting up the build environment
error: filesystem error: symlink_status: Permission denied [/home/yada/.config]
Command ‘nix --extra-experimental-features ‘nix-command flakes’ build --print-out-paths ‘/etc/nixos/#nixosConfigurations.“default”.config.system.build.toplevel’ --no-link’ returned non-zero exit status 1.
?
Thanks for posting parts of your config. Unless ./hardware-configuration.nix or ./yanix/hosts.nix have something directly referring to $HOME/.config, I don’t quickly see you trying to do anything with that folder directly, so that makes me think that something weird is going on. If you revert changes to your flake.lock does it build? That would hopefully help clarify whether it’s something you’ve written vs. something you’ve imported. Also what are the permissions on your $HOME and $HOME/.config folders?
s -ld /home $HOME $HOME/.config; nix --version ~ as 🧙 0s drwxr-xr-x - yada 1 Aug 01:32 /home/yada/.config drwxr-xr-x - root 2 Sep 2025 /home drwx–x–x - yada 5 Aug 18:39 /home/yada nix (Nix) 2.34.8
My flake and configuration are in /etc/nixos, I use home manager
P.s I also thought this to be a problem since i had a mutable file or is it editable that changed my hosts.nix. In short I had hosts.nix in /etc/nixos refrence a file in /home/yada. Thinking this might be the problem, I moved this file to /etc/nixos. However same problem.
I have been changing permissions tryna make it work. I figured if groups and others had the right to execute but not read. Then maybe nixbld would be able to execute something without my security being compromised. I don’t know now, just been messing with permission to make this work.
Makes it looks like the first two have group yada and the middle has group root, but none of them have a named user (hence -).
Maybe show
ls -ldn /home $HOME $HOME/.config and id. The -n adds numeric ids and the id shows which ones you have. More generally I think the ids have somehow gotten messed up on your machine.
Also the preformmated text button makes stuff a lot more readable (Ctrl-E or ``` also works).
Kinda feels like the update is beginning to behave, not fully installed but currently downloading. However it did this too before it started making my head hurt.
They didn’t. It’s their shell that did, maybe even without them realising until getting asked.
But yeah, whenever someone asks me to run ls and share the output, I use \ls such that my shell won’t resolve aliases, as I am aware of the alias and the way out.
Not necessarily intentional, Like NobbZ said, I have been using an alias for long its become second nature. I didn’t think there was much to it until I figured it might be the cause of confusion. Sorry