dotfiles/provision
2024-03-27 13:52:54 -07:00
..
home-modules change some other themes to gruvbox 2023-12-14 00:24:59 -08:00
hosts Merge branch 'master' of github.com:starr-dusT/dotfiles 2024-03-25 08:01:08 -07:00
lib remove unused style files 2023-11-19 12:18:45 -08:00
modules remove Ares 2024-03-17 21:11:58 -07:00
overlays add citra archive 2024-03-05 23:42:38 -08:00
pkgs add citra archive 2024-03-05 23:42:38 -08:00
secrets add github personal secret to sops 2024-01-14 23:21:03 -08:00
.sops.yaml initial try with github and sops-nix 2023-11-19 22:55:56 -08:00
additional-setup.md add wifi for shivan readme 2024-03-10 21:47:40 -07:00
flake.lock update lock file 2024-02-22 18:34:12 -08:00
flake.nix first round of fixes during install for manofwar 2024-03-24 23:10:20 -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.