NixOS configuration files
Nix 93.0%
Shell 1.3%
Other 5.7%
215 3 0

Clone this repository

https://tangled.org/lesbian.skin/amuro
git@tangled.org:lesbian.skin/amuro

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Amuro#

System Architecture Description
RX-78-1 x86_64-linux Virtual machine for testing
Calibarn x86_64-linux Main desktop PC for work and gaming
Barbatos x86_64-linux Laptop used for work when on the move

Structure#

├── flake.nix
├── modules
│   ├── hosts    # Systems managed by this config
│   ├── users    # User accounts
│   └── ...      # Modules used on my systems
└── pkgs/by-name # Packages I use that aren't on nixpkgs

Installation/New System#

1. Create machine-specific config#

mkdir -p modules/hosts/<HOSTNAME>/
touch modules/hosts/<HOSTNAME>/default.nix

2. Generate Facter report#

sudo nix run \
  --option experimental-features "nix-command flakes" \
  nixpkgs#nixos-facter -- \
  -o modules/hosts/<HOSTNAME>/facter.json

3. Switch to the config#

sudo nixos-rebuild switch --flake .