Closed lenianiva closed 2 months ago
I fixed this by directly accessing the machine I was deploying to, setting the attribute and rebuilding. After this, everything should work as expected.
I fixed this by directly accessing the machine I was deploying to, setting the attribute and rebuilding. After this, everything should work as expected.
I solved it as well. I initially deployed my machines with nixos-anywhere
and I didn't have trusted-users = ["root" "@wheel"]
enabled. After re-deploying the machines with nixos-anywhere
it went fine.
Ah yeah, correctly configuring trusted users and the like is a common issue, we should probably improve documentation a bit there or at least mention it in the readme :/
I have been getting this error since I disabled root login on the remote machine. The full log is
The problem did not happen before when I had root login and
sshUser = "root"
.My username,
aniva
, is in thewheel
group, and I've set thenix.settings.trusted-users
to["root" "aniva" "@wheel"]
.My deploy command is this:
where I don't have
--checksigs
enabled.The
/etc/nix/nix.conf
on my host machine has this line (following https://nixos.wiki/wiki/Nixos-rebuild):