-
-
Save Cu3PO42/6438086b94a788d21d92091922b5c6aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{...}: { | |
copper.plate = { | |
target = "6.7.8.9"; | |
hostKey = "op://My Server/Host Key/text"; | |
hostKeyLocation = "/persist/etc/ssh/ssh_host_ed25519_key"; | |
diskEncryptionKey = "op://My Server/Disk Encryption Key/password"; | |
initrdPublicKey = ./keys/initrd_host_ed25519_key.pub; | |
}; | |
copper.features = [ | |
"hetzner-server" | |
"server" | |
"impermanence" | |
"locale-de" | |
"remote-unlock" | |
]; | |
copper.feature.zfs = { | |
enable = true; | |
snapshot = true; | |
disko = { | |
simpleZpool = true; | |
singleDiskFormat = true; | |
diskLabel = "sda"; | |
}; | |
}; | |
copper.feature.remote-unlock.initrdHostKeySecret = ./secrets/initrd_host_ed25519_key.age; | |
# Networking configuration | |
copper.feature.hetzner-server.ipv6 = "57c1::/112"; | |
networking.hostId = "cf36baa6"; # Actually required for ZFS | |
nixpkgs.hostPlatform = "aarch64-linux"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment