https://github.com/tuxdotrs/nix-config
My entire infrastructure as a Nix flake.
https://github.com/tuxdotrs/nix-config
dotfiles flake home-manager nixos nixos-config nixpkgs
Last synced: 18 days ago
JSON representation
My entire infrastructure as a Nix flake.
- Host: GitHub
- URL: https://github.com/tuxdotrs/nix-config
- Owner: tuxdotrs
- Created: 2023-09-04T21:21:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-11T14:05:47.000Z (22 days ago)
- Last Synced: 2025-04-14T22:52:11.688Z (18 days ago)
- Topics: dotfiles, flake, home-manager, nixos, nixos-config, nixpkgs
- Language: Nix
- Homepage:
- Size: 11 MB
- Stars: 24
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
tux's Nix Flake
![]()
## Table of Contents
- [Hosts](#hosts)
- [Installation](#installation)
- [Components](#components)
- [Showcase](#showcase)
- [Pain](#spent-weeks-on-this-system-configuration-)## Hosts
| | Type | Name | Hardware | Purpose |
| --- | ------- | -------- | ---------------------------------------- | ---------------------------------------------------------------------------------- |
| 💻 | Desktop | sirius | Ryzen 7 5700X3D - 64GB RAM - RTX 3080 TI | Multi-monitor desktop running Windows Subsystem for Linux. |
| 🖥️ | Laptop | canopus | Ryzen 9 5900HS - 16 GB RAM - RTX 3060 | Optimized for productivity on the go and some gaming. |
| 🖥️ | Server | homelab | Ryzen 7 8700G - 32 GB RAM - Radeon 780M | WIP |
| ☁️ | VPS | arcturus | 4 Core - 8 GB RAM | Primary server responsible for exposing my homelab applications to the internet. |
| 🥔 | VPS | alpha | 2 Core - 4 GB RAM | Monitors uptime and health status of all services across the infrastructure. |
| 🥔 | Server | vega | Cortex A53 - 1 GB RAM | Running AdGuard Home for network-wide ad blocking. |
| ☁️ | VPS | capella | 4 Core - 6 GB RAM | For running Minecraft, CS 2, Rust game servers. |
| 📱 | VPS | rigel | S21 Ultra - 12 GB RAM | Yes, I run nix on my android device. lol |
| ☁️ | VPS | node | i9-13900 - 64 GB RAM | Running Ethereum and BSC nodes. Currently in the process of migrating from Ubuntu. |## Installation
Boot into NixOS bootable USB and then enter the following commands
```
# Clone this repositry
git clone https://github.com/tuxdotrs/nix-config.git# Navigate to the repository directory
cd nix-config# Install disko for disk partitioning
nix-shell -p disko# Partition the disk and make sure to replace DISK_PATH (eg. /dev/vda)
disko --mode disko ./hosts/canopus/disko.nix --arg device '"DISK_PATH"'# Generate the hardware.nix file for your system
nixos-generate-config --no-filesystems --root /mnt# Replace the hardware.nix with generated one
cp /mnt/etc/nixos/hardware-configuration.nix ./hosts/canopus/hardware.nix# Install
nixos-install --root /mnt --flake .#canopus# Reboot to your beautiful DE
reboot
```## Components
| | Wayland | Xorg |
| ------------- | ------- | ---------------- |
| DM | / | SDDM |
| WM/DE | / | AwesomeWM |
| Compositor | / | Picom (Jonaburg) |
| Bar | / | Wibar |
| Hotkeys | / | Awful |
| Launcher | / | Rofi |
| Notifications | / | Naughty |
| Terminal | / | Wezterm |
| Editor | / | Neovim |## Showcase
### Desktop


### Neovim

### Floating Terminal

### Lazygit

### Telescope

### Firefox

## Spent weeks on this system configuration 😢
![]()