Doing basic configurations and it seems ssh via root is not allowed, tried to change the sshd config file and it’s read only even as root or using sudo, but I can ssh using the nixos default user and it connects no password no keys.
I am 1k percent confused by this.
Maybe I followed a bad set of instructions, not sure. Can someone point me to a noob friendly instructions for installing NixOS and doing basic networking and user account configs?
The NixOS configuration model is indeed different, and can be confusing if you have different expectations from other systems.
The basic realisation is that you don’t edit confguration files like /etc/ssh/sshd_config; these files are generated from nix code and settings. You edit and organise and version control nix content instead, all in one place with one syntax.
There’s a learning curve, but eventually many of us wind up being confused why anyone would ever want to instead manage a system with 1000 different files each with their own syntax, idioms, tools, no version control, etc.