pxeboot rewrite

This commit is contained in:
bogale 2026-10-25 22:39:34 +09:00
commit d7c91f56a1
7 changed files with 114 additions and 200 deletions

View file

@ -98,11 +98,7 @@
swapspace.enable = true;
};
sops = {
age = {
generateKey = true;
keyFile = "/var/lib/sops-nix/key.txt";
sshKeyPaths = [ "/root/.ssh/sops" ];
};
age.keyFile = "/var/lib/sops-nix/key.txt";
defaultSopsFile = ./.secrets.yaml;
secrets = {
awg-obf = { };
@ -113,8 +109,8 @@
system.stateVersion = "26.11";
systemd.tmpfiles.rules = [
"L /root/backup/base/nixos - - - - /etc/nixos"
"L /root/backup/base/root - - - - /root"
"L /root/backup/base/sbctl - - - - /var/lib/sbctl"
"L /root/backup/base/sops-nix - - - - /var/lib/sops-nix"
"d /root/backup"
"d /root/backup/base"
];