README.md

October 29, 2025 ยท View on GitHub

tux's nix flake

home home home GitHub repo size GitHub commit activity

desktop

Table of Contents

Hosts

HostnameBoardCPURAMGPUPurpose
๐Ÿ–ฅ๏ธsiriusMSI X570-A ProRyzen 7 5700X3D64GBRTX 3080 TI + RTX 3060 TITriple-monitor desktop running Windows Subsystem for Linux.
๐Ÿ’ปcanopusAsus Zephyrus G15Ryzen 9 5900HS16GBRTX 3060Optimized for productivity on the go and some gaming.
โ˜๏ธhomelabMinisforum MS-A1Ryzen 7 8700G32GBRadeon 780MWIP
โ˜๏ธarcturusKVM4 Core8GBPrimary server responsible for exposing my homelab applications to the internet.
โ˜๏ธalphaKVM4 Core4GBMonitors uptime and health status of all services across the infrastructure.
๐Ÿฅ”vegaRaspberry Pi 3B+Cortex A531GBRunning AdGuard Home for network-wide ad blocking.
๐Ÿ“ฑcapellaSamsung S25 UltraSnapdragon 8 Elite12GBAdreno 830Primary mobile for daily usage. (Locked)
๐Ÿ“ฑrigelMotorola Edge 30Snapdragon 778G+8GBAdreno 642LSecondary mobile for some fun. (Rooted)
โ˜๏ธnodeASRock B565D4Ryzen 9 5950X128GBRunning Ethereum and BSC nodes.

Installation

Note


This will get your base system ready, but keep in mind that many things might not work correctly โ€” such as monitor resolution, font size, and more.

Prerequisites

Boot into the NixOS bootable USB before proceeding with the installation steps.

Installation Steps

1. Clone the repository

git clone https://github.com/tuxdotrs/nix-config.git
cd nix-config

2. Gain root privileges

sudo su

3. Set up disk partitioning

Install the required tools:

nix-shell -p disko neovim

Partition your disk using disko. This will wipe your drive. Replace DISK_PATH with your actual disk path (e.g., /dev/vda or /dev/nvme0n1):

disko --mode disko ./hosts/canopus/disko.nix --arg device '"DISK_PATH"'

4. Configure your disk

Edit the configuration file:

nvim ./hosts/canopus/default.nix

In the imports statement, replace:

(import ./disko.nix {device = "/dev/nvme0n1";})

with:

(import ./disko.nix {device = "DISK_PATH";})

Make sure to replace DISK_PATH with your actual disk path.

5. Generate hardware configuration

nixos-generate-config --no-filesystems --root /mnt

Copy the generated hardware configuration to the repository:

cp /mnt/etc/nixos/hardware-configuration.nix ./hosts/canopus/hardware.nix

6. Install NixOS

nixos-install --root /mnt --flake .#canopus

7. Enter into the new system

nixos-enter --root /mnt

8. Set up directories and permissions

mkdir -p /persist/home
chown -R tux:users /persist/home

9. Set passwords

Set the root password:

passwd root

Set the user password:

passwd tux

10. Reboot

reboot

Your NixOS system should now boot into a beautiful DE.

Components

WaylandXorg
DMlyly
WM/DEHyprlandAwesomeWM
CompositorHyprlandPicom (Jonaburg)
BartPanelWibar
HotkeysHyprlandAwful
LaunchertPanelRofi
NotificationstPanelNaughty
TerminalWeztermWezterm
EditorNeovimNeovim

Showcase

Desktop Hyprland

Desktop

tPanel

tPanel

Workflow

Workflow

Showcase

Desktop AwesomeWM

2024-08-08_18-33

2024-08-08_18-18

Neovim

2024-08-08_18-16

Floating Terminal

2024-08-08_18-16_1

Lazygit

2024-08-08_18-16_2

Telescope

2024-08-08_18-16_3

Firefox

2024-08-08_18-26

Spent weeks on this system configuration ๐Ÿ˜ข