Various config files and sundries
Find a file
2024-08-09 19:26:41 +02:00
common nix: shared cache 2024-08-09 19:26:41 +02:00
files jj: use difftastic by default. add more aliases for convenience 2024-08-07 15:27:11 +02:00
home jj: show deleted/missing files as empty in difftastic 2024-08-07 21:58:59 +02:00
hosts Clean up renamed options and packages 2024-08-08 00:42:02 +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-07 12:10:51 +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