Various config files and sundries
Find a file
2024-08-22 19:48:29 +02:00
common Use tmpfs for /tmp. Enable new nixos system switch implementation 2024-08-22 19:48:29 +02:00
files test-term: add geometric + line drawing tests 2024-08-15 11:53:55 +02:00
home devel: add mc 2024-08-22 19:46:58 +02:00
hosts Use tmpfs for /tmp. Enable new nixos system switch implementation 2024-08-22 19:48:29 +02:00
overlays Migrate to home-manager 2024-08-02 11:55:35 +02:00
pkgs jj: more legible color for "hidden" / rest parts of changes and commits 2024-08-21 10:59:58 +02:00
.envrc Migrate to home-manager 2024-08-02 11:55:35 +02:00
flake.lock update 2024-08-22 19:46:18 +02:00
flake.nix tmux: persistent terminals + nvim edit helper M-1 2024-08-12 20:20:25 +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