NixOS
Updated: 2024, October 7th
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
-
Rebuild the system:
# nixos-rebuild switch
(sometimes you need to launch it 2 times)
-
Set a password on
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.