No description
Find a file
Forgejo Actions b31af2e1b1 Format Nix code
2025-12-05 15:55:55 +01:00
.forgejo/workflows Remove Nix flake check workflow 2025-11-20 11:41:51 +01:00
apps Format Nix code 2025-12-05 15:55:55 +01:00
configs fmt 2025-11-15 16:41:02 +01:00
modules chore: switch to nixfmt 2025-07-17 21:23:01 +02:00
overlays fix: stable build for lilas 2025-12-01 17:46:02 +01:00
secrets fix: authelia better secrets 2025-12-04 13:38:12 +01:00
systems Format Nix code 2025-12-04 11:36:19 +01:00
.envrc add some tools and a direnv to work with config 2024-09-26 20:59:39 +02:00
.gitignore Ignore files matching *-sd-* pattern 2025-07-28 21:54:02 +02:00
flake.lock flake.lock: Update 2025-12-05 10:41:33 +01:00
flake.nix feat: nixos 25.11 2025-12-01 09:13:32 +01:00
justfile Add Raspberry Pi 4 system lilas with SD image support 2025-06-22 22:48:06 +02:00
README.md add heroic 2024-09-30 09:04:54 +02:00

install

formatting

Get the format config:

cd /tmp
curl https://raw.githubusercontent.com/hatch01/flake/master/disk.nix -o disk.nix

Get the disk id we want to format

lsblk

The output should look like this:

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
nvme0n1     259:0    0   1,8T  0 disk

edit the device value according to your disk.

vi /tmp/disk.nix

set the disk encryption password

echo -n "password" > /tmp/secret.key

Run partitionment:

sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko /tmp/disk.nix

Install

su root
mkdir -p /mnt/etc
cd /mnt/etc
git clone https://github.com/hatch01/flake nixos
cd nixos

maybe edit the disk name in flake .nix

You need to generate keys for secure boot:

sudo sbctl create-keys

then install

nixos-install --flake .#tulipe