diff options
Diffstat (limited to 'config/systemhttpd.nix')
-rw-r--r-- | config/systemhttpd.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/config/systemhttpd.nix b/config/systemhttpd.nix deleted file mode 100644 index 3dcdb92..0000000 --- a/config/systemhttpd.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ configs, lib, pkgs, ... }: -let - port = (import ../data/aliases.nix).services.systemhttpd.port; -in -{ - systemd.services.systemhttpd = { - description = "Web frontend for systemd"; - after = [ "networking.target" ]; - wantedBy = [ "multi-user.target" ]; - environment = { - RUST_BACKTRACE = "1"; - RUST_LOG = "error,systemhttp=info,main=info"; - }; - serviceConfig = { - ExecStart = "${pkgs.systemhttpd}/bin/systemhttpd --port ${toString port} " + - "--db_file /var/lib/systemhttpd/db.sqlite " + - "--base_url https://kj.orbekk.com/systemd/ serve"; - User = "root"; - }; - }; -} |