For the headless server, see docs/earendil.md.
Install the Nix package manager:
sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemonEnable experimental features by adding to /etc/nix/nix.conf:
experimental-features = nix-command flakesClone the home.nix repository:
git clone https://github.com/fnune/home.nix ~/.home.nix
cd ~/.home.nixFrom the ~/.home.nix directory, run the Home Manager version pinned in flake.lock:
nix run . -- switch --flake . -b backup-b backup renames dotfiles that already exist instead of failing on them. On a desktop this downloads over 20GB of packages.
To switch later, run ./switch.sh. It applies this host's system configuration from systems/ with system-manager, then switches Home Manager with nh. ./update.sh updates the inputs and then runs it.
./switch.sh generates the locales from modules/system/locales.nix. Configure /etc/locale.conf:
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MEASUREMENT="en_DK.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"Plymouth is pre-installed in CachyOS. Configure theme:
sudo plymouth-set-default-theme spinner
sudo mkinitcpio -PHome Manager installs everything else. These come from pacman because they integrate with Plasma, need system libraries, or build system packages:
sudo pacman -S --needed base-devel steam
sudo pacman -S --needed isoimagewriter kalk kate kcharselect kclock kcolorchooser keepsecret ksshaskpass kweather markdownpart partitionmanagerksshaskpass must stay at /usr/bin/ksshaskpass: the Plasma SSH agent config points there.
For the Tuxedo InfinityBook Pro 14 Gen9, additional setup is required:
The ethernet driver requires secure boot to be disabled in BIOS/UEFI.
Edit your boot entry file:
sudoedit /boot/loader/entries/linux-cachyos.confAdd the parameter to the options line:
options root=UUID=<redacted> quiet acpi.ec_no_wakeup=1sudo pacman -S linux-cachyos-headers
paru -S yt6801-dkms