Nix setup for the machine nil
This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
James Patrick d7e2c0a924 Switching from hardcoded username.
Will this ever change? No like likely, but I do think that this is the
correct way to do this.
2022-08-14 19:35:15 -04:00
hosts Relocated nixos-hardware import into host's hardware.nix 2022-08-14 18:32:40 -04:00
lib Removed unused resource 2022-08-13 00:41:23 -04:00
modules Switching from hardcoded username. 2022-08-14 19:35:15 -04:00
pkgs Removed sway. 2022-07-12 22:41:23 -04:00
profiles Switching from hardcoded username. 2022-08-14 19:35:15 -04:00
.gitignore Ignore the result 2021-12-03 00:39:31 -05:00
flake.lock Bump 2022-07-12 19:40:06 -04:00
flake.nix Switching from hardcoded username. 2022-08-14 19:35:15 -04:00
makefile Added basic clean target 2022-07-16 18:54:29 -04:00
readme.md Refactoring 2022-03-04 23:43:10 -05:00

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