From 8207e9a5ee305358b43101eef291069fcdee3d79 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 25 Oct 2026 08:26:40 +0100 Subject: refactor: rename package and service to geopos --- default.nix | 2 +- service.nix | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/default.nix b/default.nix index 5b1f258..13268b1 100644 --- a/default.nix +++ b/default.nix @@ -1,7 +1,7 @@ { pkgs ? import {} }: pkgs.stdenv.mkDerivation { - name = "geopos-share"; + name = "geopos"; src = ./src; 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 { 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}"; } ]; }; -- cgit v1.3.1