Test cert-store with nextcloud
This commit is contained in:
parent
485adefc8d
commit
5d07fa2fd4
3 changed files with 25 additions and 3 deletions
21
services/cert-store-client.nix
Normal file
21
services/cert-store-client.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.openssh.knownHosts."cert-store.vsinerva.fi".publicKey =
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP4FaKqA2rQbxpdRBdGtb2lb5El/zbGnvmDfdYJdrxH7";
|
||||
|
||||
systemd.services.nginx = {
|
||||
wants = [ "mnt-acme.mount" ];
|
||||
after = [ "mnt-acme.mount" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/acme" = {
|
||||
device = "cert-store@cert-store.vsinerva.fi:/home/cert-store/acme";
|
||||
fsType = "sshfs";
|
||||
options = [
|
||||
"nodev"
|
||||
"noatime"
|
||||
"allow_other"
|
||||
"IdentityFile=/etc/ssh/ssh_host_ed25519_key"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue