1
0
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:
2023-02-23 16:53:53 +01:00
parent b98ac4ebce
commit c51db2b53c
12 changed files with 217 additions and 140 deletions

View File

@@ -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";
};