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 865b55b8a8 bump
2022-04-24 22:25:35 -04:00
hosts Updated documentation for creating a new install. 2022-03-06 14:31:24 -05:00
modules Added battery notify (currently don't work) 2022-04-24 22:24:53 -04:00
pkgs Added battery notify (currently don't work) 2022-04-24 22:24:53 -04:00
.gitignore Ignore the result 2021-12-03 00:39:31 -05:00
flake.lock bump 2022-04-24 22:25:35 -04:00
flake.nix Relocating stuff to pkgs folder. No actual changes yet. 2022-03-26 22:02:21 -04:00
home.nix Flattening Home Manager into cli 2022-03-04 23:41:38 -05:00
makefile Added make targets to make easier to run. 2022-03-07 22:00:10 -05:00
readme.md Refactoring 2022-03-04 23:43:10 -05:00

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