graphing-calculator: init
This commit is contained in:
15
services/graphing-calculator.nix
Normal file
15
services/graphing-calculator.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
service_configs,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
graphing-calculator = inputs.ytbn-graphing-software.packages.${pkgs.system}.web;
|
||||
in
|
||||
{
|
||||
services.caddy.virtualHosts."graphing.${service_configs.https.domain}".extraConfig = ''
|
||||
root * ${graphing-calculator}
|
||||
file_server browse
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user