fix(Infini-DESKTOP): mount host keys during boot
This commit is contained in:
parent
392c86f93c
commit
81deee8e27
2 changed files with 7 additions and 5 deletions
|
@ -28,11 +28,6 @@
|
|||
files = [
|
||||
"/etc/machine-id"
|
||||
|
||||
"/etc/ssh/ssh_host_rsa_key"
|
||||
"/etc/ssh/ssh_host_rsa_key.pub"
|
||||
"/etc/ssh/ssh_host_ed25519_key"
|
||||
"/etc/ssh/ssh_host_ed25519_key.pub"
|
||||
|
||||
"/root/.local/share/nix/trusted-settings.json"
|
||||
"/root/.ssh/known_hosts"
|
||||
];
|
||||
|
|
|
@ -34,6 +34,13 @@ in
|
|||
neededForBoot = true;
|
||||
};
|
||||
|
||||
"/etc/ssh" = {
|
||||
device = main;
|
||||
fsType = "btrfs";
|
||||
options = [ "subvolid=262" "autodefrag" "noatime" "ssd" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
"/media/main" = {
|
||||
device = main;
|
||||
fsType = "btrfs";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue