Various config files and sundries
Find a file
2024-11-09 00:22:09 +01:00
common nix: add cachix 2024-11-07 10:33:01 +01:00
files nvim: all in on mini.nvim 2024-11-05 21:55:52 +01:00
home nvim: use blink.cmp for completion 2024-11-09 00:22:09 +01:00
hosts dinky: update remote builder config 2024-10-23 00:24:10 +02:00
overlays nvim: use neovim-nightly 2024-11-07 01:15:38 +01:00
pkgs jj: upgrade to v0.23.0 2024-11-07 10:33:23 +01: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 jj: upgrade to v0.23.0 2024-11-07 10:33:23 +01:00
flake.nix nix: add cachix community cache 2024-11-07 01:20:15 +01: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