my nix configs
Find a file
Harald Hoyer 143cc1742a only not exec fish, when WANT_BASH is defined
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-03-20 22:11:30 +01:00
.secrets add sops 2024-03-06 12:26:12 +01:00
homes rename plusultra to metacfg 2024-03-20 08:58:05 +01:00
lib rename plusultra to metacfg 2024-03-20 08:58:05 +01:00
modules only not exec fish, when WANT_BASH is defined 2024-03-20 22:11:30 +01:00
overlays Revert "enable MIPI camera" 2024-03-07 09:43:15 +01:00
packages rename plusultra to metacfg 2024-03-20 08:58:05 +01:00
systems sgx: factor out aesmd 2024-03-20 16:53:28 +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.lock update 2024-03-20 13:21:02 +01:00
flake.nix remove gpg/yubikey external deps 2024-03-20 13:11:47 +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