Various config files and sundries
Find a file
2024-08-11 17:38:34 +02:00
common nix: remove broken attic for now 2024-08-10 22:32:23 +02:00
files jj: use difftastic by default. add more aliases for convenience 2024-08-07 15:27:11 +02:00
home ghostty: add dark theme, wrapper to auto-set theme based on system. add 2024-08-11 17:38:34 +02:00
hosts nix: dinky: add remote build config 2024-08-10 22:32:25 +02:00
overlays Migrate to home-manager 2024-08-02 11:55:35 +02:00
pkgs fixup 2024-08-10 14:04:20 +02:00
.envrc Migrate to home-manager 2024-08-02 11:55:35 +02:00
flake.lock Add ghostty 2024-08-11 15:36:39 +02:00
flake.nix Add ghostty 2024-08-11 15:36:39 +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