Skip to content

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:

  1. In /etc/nixos/configuration.nix, uncomment /etc/nixos/xrdp.nix

  2. Rebuild the system:

# nixos-rebuild switch (sometimes you need to launch it 2 times)

  1. Set a password on ec2-user

  2. 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:

  1. # nix-channel --add https://nixos.org/channels/nixos-23.11 nixos

  2. # nixos-rebuild switch --upgrade

Need Help?

If you need help, please refer to the official documentation.