Various config files and sundries
Find a file
2024-08-04 00:04:43 +02:00
common move old nixos-config over here 2024-08-02 14:10:15 +02:00
files Migrate to home-manager 2024-08-02 11:55:35 +02:00
home ssh: forward agent to dev 2024-08-04 00:04:43 +02:00
hosts move old nixos-config over here 2024-08-02 14:10:15 +02:00
overlays Migrate to home-manager 2024-08-02 11:55:35 +02:00
pkgs Migrate to home-manager 2024-08-02 11:55:35 +02:00
.envrc Migrate to home-manager 2024-08-02 11:55:35 +02:00
flake.lock update 2024-08-03 13:25:07 +02:00
flake.nix move old nixos-config over here 2024-08-02 14:10:15 +02:00
justfile move old nixos-config over here 2024-08-02 14:10:15 +02:00
README.md move old nixos-config over here 2024-08-02 14:10:15 +02:00

NixOS Config

IT in a box!

Bootstrapping from a fresh NixOS installation

  1. Install NixOS

  2. Clone this repo:

    nix-shell -p git --command 'git clone https://git.shelman.io/shelmangroup/nixos-config.git'
    
  3. Ensure host configuration exists at ./nixos-config/hosts/${HOSTNAME} and contains at minimum the hardware configuration. The NixOS installer will write this out to /etc/nixos/hardware-configuration.nix.

  4. Apply configuration:

    sudo nixos-rebuild boot --flake ./nixos-config#${HOSTNAME}
    

Use

  1. Clone this repo somewhere convenient, like ~/src/shelman/nixos-config
  2. Apply configuration: just switch

Update

Update nixpkgs and switch: just update

Home Manager

just home-switch