NixOS¶
Updated: 2026, February 27th
Connecting to the system¶
The default user is ec2-user (for the SSH key, use ecdsa and not rsa algorithm which is deprecated in almost all linux distributions)
Enabling XRDP¶
To enable XRDP + KDE Plasma:
- In
/etc/nixos/configuration.nix, uncomment/etc/nixos/xrdp.nix:
# sudo nano /etc/nixos/configuration.nix
- Rebuild the system:
# sudo nixos-rebuild switch (sometimes you need to launch it 2 times)
- Set a password on
ec2-user:
# sudo passwd ec2-user
- Connect to the machine through RDP
Upgrading to a new version¶
To upgrade the system to a new version (ex: 23.11), execute the following commands:
-
# nix-channel --add https://nixos.org/channels/nixos-23.11 nixos -
# nixos-rebuild switch --upgrade
Need Help?¶
If you need help, please refer to the official documentation.