mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat: convert inputs to flakes
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
...
|
||||
}: let
|
||||
port = 5703;
|
||||
onomap-src = inputs.scripts.outPath + "/onomastics-ng";
|
||||
onomap = pkgs.haskellPackages.callCabal2nix "onomap" onomap-src {};
|
||||
in {
|
||||
systemd.services.names = {
|
||||
wants = ["network-online.target"];
|
||||
@@ -14,7 +12,7 @@ in {
|
||||
description = "Better clone of geogen.stoepel.net";
|
||||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
ExecStart = "${onomap}/bin/onomap-web";
|
||||
ExecStart = "${inputs.scripts.packages.x86_64-linux.onomap}/bin/onomap-web";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "15s";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user