dotfiles/provision
2024-09-29 21:10:53 -07:00
..
hosts refactor modules in default 2024-09-29 21:10:53 -07:00
lib remove unused style files 2023-11-19 12:18:45 -08:00
modules refactor modules in default 2024-09-29 21:10:53 -07:00
overlays update extensions to gnome 46 and remove some old crud 2024-08-28 20:01:32 -07:00
pkgs update extensions to gnome 46 and remove some old crud 2024-08-28 20:01:32 -07:00
secrets password-less login for rsync.net 2024-09-14 09:40:25 -07:00
additional-setup.md clean up readmes 2024-08-23 23:13:05 -07:00
flake.lock basic wsl config 2024-09-27 15:25:33 -07:00
flake.nix basic wsl config 2024-09-27 15:25:33 -07:00
readme.md small update to readme and toggle vpn in hypr 2024-03-27 13:52:54 -07:00

Provision Nixos

*NixOS was a mistake.*

Set of configs files to setup NixOS.

Usage

  1. Install NixOS with this guide. Use the following paritions and btrfs subvolumes:

    Name Type Mount Point Size
    EFI vfat /boot 512MB
    root btrfs / rest of disk
    home btrfs /home subvol
    nix btrfs /nix subvol
    persist btrfs /persist subvol
    log btrfs /var/log subvol
  2. Run the following commands:

    nix-shell -p vim git
    git clone https://github.com/starr-dusT/dotfiles ~/.local/share/chezmoi 
    

    Move the installer created hardware.nix to dotfiles. E.g. provision/hosts/<host>/hardware.nix.

    cd ~/.local/share/chezmoi/provision
    sudo nixos-rebuild switch --flake .#<host>
    chezmoi init && chezmoi apply
    
  3. Profit!

Perform additional setup found in additional-setup

Update

nixos-rebuild command is aliased to nu assuming the flake is named the same at the hostname of the machine.