diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-25 08:26:40 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-25 08:26:40 +0100 |
| commit | 8207e9a5ee305358b43101eef291069fcdee3d79 (patch) | |
| tree | adfd82419f8bd12e025dcc29d4b32e3c09d8db71 /service.nix | |
| parent | 067e52bc973931680da025b4f012f92f94bdbe53 (diff) | |
refactor: rename package and service to geopos
Diffstat (limited to 'service.nix')
| -rw-r--r-- | service.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/service.nix b/service.nix index f10c4ab..0b03630 100644 --- a/service.nix +++ b/service.nix @@ -1,16 +1,16 @@ { config, lib, pkgs, ... }: let - geoposShare = pkgs.callPackage ./default.nix {}; - cfg = config.services.geopos-share; + geopos = pkgs.callPackage ./default.nix {}; + cfg = config.services.geopos; nginxVhostOptions = (import <nixpkgs/nixos/modules/services/web-servers/nginx/vhost-options.nix> { inherit config lib; }).options; in { - options.services.geopos-share = { - enable = lib.mkEnableOption "geopos-share"; + options.services.geopos = { + enable = lib.mkEnableOption "geopos"; virtualHost = lib.mkOption { type = lib.types.str; @@ -32,7 +32,7 @@ in virtualHosts.${cfg.virtualHost} = lib.mkMerge [ cfg.nginx { - root = "${geoposShare}"; + root = "${geopos}"; } ]; }; |
