Nix setup for the machine `nil`
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
James Patrick 7f015d342f Refactor of the networking part. 2 months ago
hosts Relocated nixos-hardware import into host's hardware.nix 2 months ago
lib Removed unused resource 2 months ago
modules Refactor of the networking part. 2 months ago
pkgs Removed sway. 3 months ago
profiles Refactor of the networking part. 2 months ago
.gitignore Ignore the result 10 months ago
flake.lock Bump 3 months ago
flake.nix Switching from hardcoded username. 2 months ago
makefile Added basic clean target 3 months ago
readme.md Refactoring 7 months ago

readme.md

Install

A makefile is used for ease of use. To set this up on a new machine you will need the following:

nix-env -iA nixos.gnumake
nix-env -iA nixos.git

then checkout this repo, create & modify the .env file

git clone https://git.jpatrick.io/james/nil.git /tmp/install
cd /tmp/install
cp .env_sample .env

Once you have set the PASSPHRASE & DISK vars run

sudo make nix_install

TODO

  • Document setting the networking.hostId variable.
  • Use NixOS Hardware Modules.
  • Fix wireless driver issue :: This uses the Realtek 8852AE 802.11AX WWAN.

References