my nix configs
Find a file
Harald Hoyer 4f32736f59 remove cachix from pkgs
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-03-11 17:16:04 +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 remove cachix from pkgs 2024-03-11 17:16:04 +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/x86_64-linux move btrfs.autoScrub.enable to hardware-configuration.nix 2024-03-11 16:53:16 +01:00
.sops.yaml add sops 2024-03-06 12:26:12 +01:00
flake.lock Use snowfall-lib pre-v3 2024-03-11 17:05:47 +01:00
flake.nix Use snowfall-lib pre-v3 2024-03-11 17:05: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