Fix: imports
This commit is contained in:
parent
36d368063a
commit
e3c3d5ee8b
7 changed files with 23 additions and 18 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{pkgs, ...}:
|
||||
let
|
||||
imports = ../../config/globals.nix ;
|
||||
globals = import ../../config/globals.nix ;
|
||||
in {
|
||||
environment.systemPackages = with pkgs; [
|
||||
goaccess
|
||||
|
|
@ -25,7 +25,7 @@ in {
|
|||
};
|
||||
services.caddy = {
|
||||
virtualHosts = {
|
||||
globals.services.goaccess.url = {
|
||||
"${globals.services.goaccess.url}" = {
|
||||
extraConfig = ''
|
||||
root * ${globals.services.goaccess.home}
|
||||
file_server browse
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue