my nix configs
Find a file
Harald Hoyer 897a92ea57 enable MIPI camera
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-03-06 23:39:50 +01:00
.secrets add sops 2024-03-06 12:26:12 +01:00
homes sgx-azure: add nixsgx cachix 2024-03-06 20:52:07 +01:00
lib refactor 2024-01-11 10:31:04 +00:00
modules enable MIPI camera 2024-03-06 23:39:50 +01:00
overlays enable MIPI camera 2024-03-06 23:39:50 +01:00
packages refactor 2024-01-11 16:42:19 +01:00
systems/x86_64-linux enable MIPI camera 2024-03-06 23:39:50 +01:00
.sops.yaml add sops 2024-03-06 12:26:12 +01:00
flake.lock sgx: add aesmd and refactor 2024-03-06 15:12:04 +01:00
flake.nix sgx-azure 2024-03-06 20:27:18 +01:00
README.md update README.md 2024-03-06 23:39:02 +01:00

Install system via nixos-anywhere

 nix run github:numtide/nixos-anywhere -- \
  --flake 'git+https://git.hoyer.xyz/harald/nixcfg'.#hostname \
  root@hostname --no-reboot --tty -i $HOME/.ssh/id_ed25519
... enter disk password
 ssh -t root@hostname systemd-cryptenroll /dev/luksdev --wipe-slot=tpm2 --tpm2-device=auto --tpm2-pcrs=1,15

nixos-rebuild remote git flake

 sudo nixos-rebuild boot --refresh --flake git+https://git.hoyer.xyz/harald/nixcfg

home-manager remote git flake

 nix --refresh run 'git+https://git.hoyer.xyz/harald/nixcfg' -- \
  switch -b backup --flake 'git+https://git.hoyer.xyz/harald/nixcfg'

command-not-found unable to open database

 sudo nix-channel --update