dotfiles/provision
2024-07-12 17:58:44 -07:00
..
home-modules use Xwayland for kitty 2024-05-13 19:13:27 -07:00
hosts update for vulnerabilites 2024-07-06 10:14:18 -07:00
lib remove unused style files 2023-11-19 12:18:45 -08:00
modules zoom backgrounds for different resolutions 2024-07-12 17:58:44 -07:00
overlays update to gnome 46 2024-06-09 17:23:51 -07:00
pkgs change citra to retroarch 2024-05-04 15:00:39 -07:00
secrets first pass at runner for torus 2024-05-26 22:16:00 -07:00
.sops.yaml initial try with github and sops-nix 2023-11-19 22:55:56 -08:00
additional-setup.md update readme for nipr on personal 2024-05-04 18:14:17 -07:00
flake.lock update for vulnerabilites 2024-07-06 10:14:18 -07:00
flake.nix remove man of war 2024-04-22 21:39:35 -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.