Compare commits

...

2 Commits

Author SHA1 Message Date
kalle d39dce176f Re-add media mount 2024-11-22 20:10:23 +01:00
kalle 267c228598 Persist ssh host keys 2024-11-22 20:07:19 +01:00
2 changed files with 10 additions and 0 deletions

View File

@ -79,6 +79,10 @@
];
files = [
"/etc/machine-id"
{ file = "/etc/ssh/ssh_host_ed25519_key"; mode = "0600"; }
{ file = "/etc/ssh/ssh_host_ed25519_key.pub"; mode = "0644"; }
{ file = "/etc/ssh/ssh_host_rsa_key"; mode = "0600"; }
{ file = "/etc/ssh/ssh_host_rsa_key.pub"; mode = "0644"; }
];
};

View File

@ -28,4 +28,10 @@
autoResize = true;
neededForBoot = true;
};
fileSystems."/media" = {
device = "vm@b9b22d11-3492-49a6-92b7-b36cdf0161fe.cephfs=/media";
fsType = "ceph";
options = [ "nofail" ];
};
}