Skip to content

hiibolt/nixos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

192 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS - nuclearbomb

Multi-host NixOS configuration for nuclearbombconsole (laptop), nuclearbombwsl (WSL), and nuclearbombsilo (NFS server).

image image image

Layout

common.nix              — shared config (users, shell, kanata, system defaults)
nuclearbombconsole/     — laptop (Intel graphics, KDE Plasma)
nuclearbombwsl/         — WSL instance
nuclearbombsilo/        — NFS server

Rebuild

rb-s   # nixos-rebuild switch
rb-b   # nixos-rebuild boot

Fresh Install

Enter sudo and drop into a shell with the tools you need:

sudo su
nix-shell -p git

Partition and format the target drive (lsblk to pick one):

cd /tmp && git clone https://github.com/hiibolt/nixos.git
parted /dev/<drive> -- mklabel gpt
# ESP, swap, root — see hardware-configuration.nix for the expected layout
nixos-generate-config --no-filesystems --root /mnt

Copy config and install:

rm -rf /mnt/etc/nixos && mv /tmp/nixos /mnt/etc/nixos
nixos-install --root /mnt --flake /mnt/etc/nixos#nuclearbombconsole
reboot

Imperative Setup

After first boot:

  • gh auth login --insecure-storage
  • tailscale up
  • Log into Vesktop, Spotify, osu!lazer, Librewolf

Adding a Machine

  1. Create a new directory at the repo root (e.g. nuclearbombnew/)
  2. Run nixos-generate-config on the target and drop the result in as hardware-configuration.nix
  3. Add a configuration.nix that imports ../common.nix and the hardware config
  4. Add the host to flake.nix

About

Multi-system Flake-based NixOS configuration files with declaratively defined state.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors