Various config files and sundries
Find a file
2024-10-18 10:38:58 +02:00
common Remove docker/podman-compose 2024-09-27 10:51:14 +02:00
files jj: branch -> bookmark 2024-10-06 22:25:32 +02:00
home fish: confirm before poweroff, reboot, shutdown 2024-10-12 13:41:06 +02:00
hosts Update. Add helix editor package 2024-10-06 19:46:49 +02:00
overlays Migrate to home-manager 2024-08-02 11:55:35 +02:00
pkgs jujutsu: upgrade to 0.22.0 2024-10-06 20:26:16 +02:00
.envrc Migrate to home-manager 2024-08-02 11:55:35 +02:00
.gitignore Add pearl host 2024-09-03 17:13:48 +02:00
flake.lock update 2024-10-18 10:38:54 +02:00
flake.nix clean up flake.nix 2024-10-18 10:38:58 +02:00
justfile move old nixos-config over here 2024-08-02 14:10:15 +02:00
README.md shelman->patagia 2024-09-02 19:48:24 +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://patagia.dev/dln/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