machine/thinkman: migrate to disko

This commit is contained in:
Felix Buehler 2023-11-01 17:46:37 +01:00
parent b17d5c65de
commit 06937b156b
3 changed files with 78 additions and 30 deletions

View file

@ -2,7 +2,6 @@
{
imports = [
./boot.nix
./disks.nix
./hardware-configuration.nix
./network.nix
./profiles.nix
@ -12,6 +11,10 @@
networking.hostName = "thinkman";
disko.devices = import ./disko-config.nix {
disks = [ "/dev/disk/by-id/nvme-eui.0025385b01410682" ];
};
sops = {
defaultSopsFile = ./secrets.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];