dotfiles/provision/nixos
2023-07-23 14:38:24 -07:00
..
hosts create Torus config 2023-07-23 14:38:24 -07:00
lib more update 2023-07-10 17:52:34 -07:00
modules move flake 2023-07-23 14:34:39 -07:00
overlays I wrote a derivation! I'm very proud of myself. 2023-07-11 22:04:34 -07:00
pkgs I wrote a derivation! I'm very proud of myself. 2023-07-11 22:04:34 -07:00
additional-setup.md move flake 2023-07-23 14:34:39 -07:00
readme.md move flake 2023-07-23 14:34:39 -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.

    Copy .chezmoidata.yaml.example to .chezmoidata.yaml and edit with desired settings then run the following commands:

    nixos-update # Assuming hostname is same as flake name
    

Perform additional setup found in additional-setup

Update

nixos-update command is aliased assuming the flake is named the same at the hostname of the machine.