2024-01-29 22:19:24 +00:00
|
|
|
{ lib, config, ... }:
|
2024-01-27 22:53:36 +00:00
|
|
|
{
|
|
|
|
systemd.tmpfiles.rules = [
|
2024-02-02 09:00:51 +00:00
|
|
|
"L /etc/nixos - - - - /home/${config.pub-solar.user.name}/Workspace/os"
|
2024-01-29 22:19:24 +00:00
|
|
|
|
2024-01-27 22:53:36 +00:00
|
|
|
"L /var/lib/bluetooth - - - - /persist/var/lib/bluetooth"
|
2024-01-29 22:02:05 +00:00
|
|
|
"d /persist/var/lib/bluetooth 0500 root root"
|
|
|
|
|
2024-01-27 23:56:49 +00:00
|
|
|
"L /var/lib/docker - - - - /persist/var/lib/docker"
|
2024-01-29 22:02:05 +00:00
|
|
|
"d /persist/var/lib/docker 0510 root root"
|
|
|
|
|
2024-02-02 09:00:51 +00:00
|
|
|
"L /etc/NetworkManager/system-connections - - - - /persist/etc/NetworkManager/system-connections"
|
|
|
|
"d /persist/etc/NetworkManager/system-connections 0700 root root"
|
2024-01-29 22:02:05 +00:00
|
|
|
|
|
|
|
"d /persist/etc/ssh 0400 root root"
|
2024-01-27 22:53:36 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
hostKeys = [
|
|
|
|
{
|
|
|
|
path = "/persist/etc/ssh/ssh_host_ed25519_key";
|
|
|
|
type = "ed25519";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
path = "/persist/etc/ssh/ssh_host_rsa_key";
|
|
|
|
type = "rsa";
|
|
|
|
bits = 4096;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|