- Description
- Boot Install Media
- Partition the Drive
- Setup the Config Folder
- Build the Base System
- Reboot into the New System
This is a multi-system and multi-user flake. It has laptops, desktops, and home server.
- ☕ Espresso
Desktop: Ryzen 5700g
Budgie - ⚔ Gram
Laptop: Framework 13 11th Gen Intel i5
Hyprland - 🪐 Magrathea
Home server: Intel i5-2500k still kicking
Nextcloud
Forgejo (Gitea)
Kodi - 🔨 Mjolnir
Desktop: Minisforum UM790 Pro
Hyprland - 🍵Oolong
Laptop: Dell Inspiron
Budgie - 🚀 Serenity
Home server: Ryzen 2400g
Off-site backup
Kodi
Notable customizations
- Custom built font
Recursive Mono Configured to my liking
Ligatures added from FiraCode
TODO: Use nerd font patcher
Find a nice flowing script to swap italics - Keybinds
Keyd used to remap capslock to escape and a custom layer
Unified keybinds between applications
Modifiers:
Hyprland: META/Windows/Whatever key
Zellij/Wezterm: Alt (leftalt)
Applications: Ctrl
hjkl - movement
Caps+hjkl - arrow keys
, - tab previous
. - tab next
disko -- --mode disko /usb/disko/[system].nix
Disko does not manage raid arrays on purpose. Running the above command would wipe data.
mkfs.btrfs -m raid10 -d raid10 /dev/sdW /dev/sdX /dev/sdY /dev/sdZ
mkdir -p /storage
mount /dev/sdW /storage
cd /storage
btrfs subvolume create @media
btrfs subvolume create @snaps
cd ..
umount /storage
mkfs.btrfs -m raid1 -d raid1 /dev/sdY /dev/sdZ
mkdir -p /storage
mount /dev/sdW /storage
cd /storage
btrfs subvolume create @media
btrfs subvolume create @snaps
cd ..
umount /storage
nixos-generate-config --root /mnt
mkdir /mnt/nix/config
git clone https://github.com/kaldyr/nixos /mnt/nix/config
- Make sure the correct graphics drivers are listed
- Make sure the filesystems are correct
- Make sure the state version is correct in system and home manager
- Drop the keys in the /mnt system for system and user
- Generate public keys and user sops key
- If generating new keys, add them into the .sops.yaml and
sops updatekeys secrets.yaml
cd /mnt
nixos-install --no-root-password --flake /mnt/nix/config#[machine]
nixos-enter
sudo smbpasswd -a USERNAME