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.
nil/readme.md

38 lines
1.3 KiB
Markdown
Raw Normal View History

2022-03-05 04:43:10 +00:00
# Install
2021-11-15 16:58:15 +00:00
A makefile is used for ease of use. To set this up on a new machine you will need the following:
```bash
nix-env -iA nixos.gnumake
nix-env -iA nixos.git
```
then checkout this repo, create & modify the `.env` file
```bash
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
```bash
sudo make nix_install
```
2022-03-05 04:43:10 +00:00
# TODO
2021-11-15 16:58:15 +00:00
- Document setting the `networking.hostId` variable.
- Use [NixOS Hardware](https://github.com/NixOS/nixos-hardware) Modules.
- Fix wireless driver issue :: This uses the Realtek 8852AE 802.11AX WWAN.
2021-11-16 01:39:33 +00:00
2022-03-05 04:43:10 +00:00
# References
2021-11-16 01:39:33 +00:00
- [Installing NixOS with encrypted ZFS on a netcup.de root server](https://florianfranke.dev/posts/2020/03/installing-nixos-with-encrypted-zfs-on-a-netcup.de-root-server/)
- [NixOS on Framework laptop](http://kvark.github.io/linux/framework/2021/10/17/framework-nixos.html)
- [NixOS with ZFS on LUKS](https://gist.github.com/ixmatus/7dcd56c8e878e8d98ee6d266f7949d11)
- [Yubikey based Full Disk Encryption (FDE) on NixOS](<https://nixos.wiki/wiki/Yubikey_based_Full_Disk_Encryption_(FDE)_on_NixOS>)
- [LUKS-Encrypted Filesystem with Yubikey PBA](https://github.com/sgillespie/nixos-yubikey-luks)
- [Encrypted /boot on ZFS with NixOS](https://elvishjerricco.github.io/2018/12/06/encrypted-boot-on-zfs-with-nixos.html)