Description
This repository contains the configuration for multiple machines, as well as my home / IDE config (home-manager).
Home Manager
Utilizing Home Manager. Check out the README.md.
NixOS
NixOS Generators
nix build .#packages.x86_64-linux.rke2-image
NixOS Hosts
Copy Config
rsync -av --exclude='.git' . root@HOST:/etc/nixos
Partition Drives
# Validate Disk
ls -l /dev/disk/by-id
# Partition Disk
# WARNING: This will destroy all data on the disk(s)
sudo nix \
--experimental-features "nix-command flakes" \
run github:nix-community/disko -- \
--mode disko \
--flake /etc/nixos#HOST_CONFIG
Install NixOS
# Install
sudo nixos-install --flake /etc/nixos#HOST_CONFIG
# Reboot
sudo reboot
Copy Config Back to Host
rsync -av --exclude='.git' . root@HOST:/etc/nixos
Rebuild NixOS
sudo nixos-rebuild switch
Description
Languages
Nix
52.2%
Lua
40.4%
Shell
6%
CSS
1.4%