feat(focus): enable libvirt and acme
This commit is contained in:
parent
16f597ef8a
commit
8adda87035
11
spec/focus/acme.nix
Normal file
11
spec/focus/acme.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
security.acme.certs = let
|
||||||
|
cloudflare = {
|
||||||
|
dnsProvider = "cloudflare";
|
||||||
|
credentialsFile = "/nix/persist/secret/cloudflare";
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
"sf.514fpv.io" = cloudflare;
|
||||||
|
".sf.514fpv.io" = cloudflare // { domain = "*.sf.514fpv.io"; };
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,7 +3,6 @@
|
||||||
global = {
|
global = {
|
||||||
id = "22e9d4e37bd7436ba0cbe6e767fb0912";
|
id = "22e9d4e37bd7436ba0cbe6e767fb0912";
|
||||||
auth.openssh.enable = true;
|
auth.openssh.enable = true;
|
||||||
libvirt.enable = false;
|
|
||||||
fs.esp.uuid = "8C36-CBE2";
|
fs.esp.uuid = "8C36-CBE2";
|
||||||
fs.type = "zfs";
|
fs.type = "zfs";
|
||||||
fs.zfs.externalStore = true;
|
fs.zfs.externalStore = true;
|
||||||
|
@ -14,6 +13,7 @@
|
||||||
fs.cryptsetup.allowDiscards = false;
|
fs.cryptsetup.allowDiscards = false;
|
||||||
fs.cryptsetup.uuids.secret = "c2bc361e-6f9a-48fa-b698-ed3603a9664a";
|
fs.cryptsetup.uuids.secret = "c2bc361e-6f9a-48fa-b698-ed3603a9664a";
|
||||||
boot.lanzaboote = true;
|
boot.lanzaboote = true;
|
||||||
|
acme.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue