my nix configs
Find a file
Harald Hoyer 0e548b42c0 flake update
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-03-19 14:44:07 +01:00
.secrets add sops 2024-03-06 12:26:12 +01:00
homes cleanup and git theme 2024-03-12 01:18:14 +01:00
lib refactor 2024-01-11 10:31:04 +00:00
modules pcscd off by default 2024-03-19 14:43:29 +01:00
overlays Revert "enable MIPI camera" 2024-03-07 09:43:15 +01:00
packages refactor 2024-01-11 16:42:19 +01:00
systems cleanup and git theme 2024-03-12 01:18:14 +01:00
.gitignore add .gitignore 2024-03-12 00:44:26 +01:00
.sops.yaml add sops 2024-03-06 12:26:12 +01:00
flake.lock flake update 2024-03-19 14:44:07 +01:00
flake.nix add mpro 2024-03-12 00:24:28 +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