No description
  • Nix 93.7%
  • HTML 5.7%
  • Shell 0.3%
  • Python 0.2%
Find a file
2026-05-20 23:11:27 +02:00
.git-crypt Add 1 git-crypt collaborator 2024-07-23 18:25:52 +07:00
.github everything working well 2026-01-03 22:19:50 +01:00
home-manager changes from stellar on dom 17 may 2026 18:18:25 CEST 2026-05-17 18:18:25 +02:00
hosts changes from stellar on sáb 09 may 2026 18:38:42 CEST 2026-05-09 18:38:42 +02:00
modules changes from stellar on mar 05 may 2026 07:35:04 CEST 2026-05-05 07:35:04 +02:00
overlays boriiing 2026-01-02 16:08:33 +01:00
pkgs changes from stellar on mié 20 may 2026 23:11:27 CEST 2026-05-20 23:11:27 +02:00
secretdir ? 2026-01-07 00:19:57 +01:00
secrets changes from stellar on sáb 02 may 2026 10:59:30 CEST 2026-05-02 10:59:30 +02:00
tools changes from stellar on mar 05 may 2026 07:14:58 CEST 2026-05-05 07:14:58 +02:00
.gitattributes tor 2024-07-23 18:26:32 +07:00
.gitignore test 2026-01-03 15:52:33 +01:00
.sops.yaml changes from stellar on mié 24 dic 2025 01:02:38 CET 2025-12-24 01:02:39 +01:00
blockchain.db many things 2025-04-14 21:06:02 +02:00
flake.lock changes from stellar on mar 05 may 2026 23:44:09 CEST 2026-05-05 23:44:09 +02:00
flake.nix changes from stellar on vie 01 may 2026 09:21:45 CEST 2026-05-01 09:21:45 +02:00
LICENSE init commit 2024-04-10 22:56:31 +07:00
README.md fixes 2025-02-26 10:56:17 +01:00
TODO >:3 2025-12-07 14:30:14 +01:00

my-little-flake

Clevis

(Method 1) encrypt secret with tpm

echo -n "thisismyverylongpassword" | clevis encrypt tpm2 '{}' > hi.jwe

(Method 2) or generate a random secret with tpm and then encrypt it

sudo tpm2_getrandom --hex 32 >> mysecret.txt

and

printf %s $(<mysecret.txt) | sudo clevis encrypt tpm2 '{}' > hi.jwe

add "thisismyverylongpassword" to luks

cryptsetup luksAddKey /dev/(nvme0n1p2)

add hi.jwe to sops

sops path/to/sops.yaml

Deploy

fast deploy-rs

deploy flake.nix#[host] --skip-checks --hostname [123.123.123.123] --magic-rollback false --auto-rollback false

big upgrade

git on the main device

git add . && git commit && git push rad main also rad node start

git on the remote device

git pull rad main

upgrade

enter tmux sudo nixos-rebuild switch --flake .