many updates to lio and o001
This commit is contained in:
parent
214e6f289d
commit
06fe42789a
9 changed files with 230 additions and 119 deletions
24
hosts/oracle/o001/mods/atuin.nix
Normal file
24
hosts/oracle/o001/mods/atuin.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.atuin = {
|
||||
enable = true;
|
||||
openRegistration = false;
|
||||
openFirewall = false;
|
||||
host = "127.0.0.1";
|
||||
port = 8888;
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."atuin.joshuabell.xyz" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyWebsockets = true;
|
||||
proxyPass = "http://127.0.0.1:${builtins.toString config.services.atuin.port}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue