nixos config for self hosting
Find a file
Yisroel Baum f0259cfb96 point sops at age key file
sops-nix's default identity discovery imports the host's SSH
ed25519 key as an age identity, but secrets/tide.yaml is encrypted
to the age key generated with age-keygen and stored at
/var/lib/sops-nix/key.txt. Without sops.age.keyFile pointing at
that path, activation fails with 'Error getting data key: 0
successful groups required, got 0'. Also blank the SSH/GPG
fallback paths so the module never silently picks up an
unintended identity.
2026-05-09 22:17:15 +03:00
home-manager@9ef0dc2036 add submodules back with different name 2026-03-29 21:39:41 +03:00
secrets add sops and secrets 2026-05-08 15:58:20 +03:00
.gitignore ignore nix build result 2026-03-29 17:44:18 +03:00
.gitmodules update git submodule for home manager 2026-04-09 22:16:08 +03:00
.sops.yaml add sops and secrets 2026-05-08 15:58:20 +03:00
boot.nix refactor boot info 2026-04-09 10:59:19 +03:00
configuration.nix refactor boot info 2026-04-09 10:59:19 +03:00
flake.lock update tide lock for pgsql 2026-05-08 16:09:00 +03:00
flake.nix pin tide flake input to forgejo 2026-05-08 16:07:26 +03:00
forgejo.nix add start ssh server for forgejo 2026-04-09 19:28:45 +03:00
hardware-configuration.nix initial commit 2026-03-22 22:15:52 +02:00
README.md add readme with instructions for deployment 2026-04-06 21:57:26 +03:00
tide.nix point sops at age key file 2026-05-09 22:17:15 +03:00

redeploy to home server using this command

nixos-rebuild switch --flake .#nixos \
	--target-host nixos_home \
	--build-host nixos_home \
	--sudo --ask-sudo-password