mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
fix: battery
This commit is contained in:
parent
1ba98534eb
commit
b0b1afc339
10 changed files with 169 additions and 42 deletions
|
|
@ -1,6 +1,7 @@
|
|||
_: let
|
||||
hostConfig = {
|
||||
tree,
|
||||
config,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
|
|
@ -53,6 +54,21 @@ _: let
|
|||
# };
|
||||
#};
|
||||
|
||||
services.nginx.virtualHosts = let
|
||||
vHost = {
|
||||
extraConfig = ''
|
||||
add_header Content-Type text/plain;
|
||||
return 200 "meep?";
|
||||
'';
|
||||
};
|
||||
in {
|
||||
${config.networking.fqdn} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
default = true;
|
||||
};
|
||||
"localhost" = vHost;
|
||||
};
|
||||
security.acme.defaults.email = "acme@inskip.me";
|
||||
system.stateVersion = "23.11";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ _: let
|
|||
++ (with tree.nixos.servers; [
|
||||
mail
|
||||
continuwuity
|
||||
prosody
|
||||
web
|
||||
]);
|
||||
|
||||
boot = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue