1
0
Fork 0

Update deps

This commit is contained in:
Daniel Kempkens 2023-07-03 10:26:35 +02:00
parent 608f946409
commit 2e883eec26
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
4 changed files with 36 additions and 20 deletions

View file

@ -299,11 +299,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1688270970, "lastModified": 1688370807,
"narHash": "sha256-th5XFljOLLL4IHdLr6RTN/2rCYJaJ07s5Kcl/t9H1Ow=", "narHash": "sha256-dIAGd1VDsb260ZZgm/jOTmjI4nIg8V2IQNfMRn4u1YA=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "2031812348e79e3d854d444b53e69340ab42e5dd", "rev": "f771d6247147b393238fe57065a96fb5e9635358",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -324,11 +324,11 @@
"weewx-proxy-flake": "weewx-proxy-flake" "weewx-proxy-flake": "weewx-proxy-flake"
}, },
"locked": { "locked": {
"lastModified": 1688286073, "lastModified": 1688372539,
"narHash": "sha256-w/+SEveySUafjCaA0s680Qz4qMwZAua128Hb6ea6rFU=", "narHash": "sha256-Wi8toaizxsPXN4SG4FWKYzhkjoos4XNGfLKHRofLJg0=",
"owner": "nifoc", "owner": "nifoc",
"repo": "nix-overlay", "repo": "nix-overlay",
"rev": "44b2a9bd20cd9c4230a262c7fa023435cc82abc8", "rev": "d1ba0fb4ad08ee692bbddabb1ef6e5cb34a9ae78",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -85,12 +85,12 @@ in
}; };
leap-nvim = buildVimPluginFrom2Nix { leap-nvim = buildVimPluginFrom2Nix {
pname = "leap.nvim"; pname = "leap.nvim";
version = "2023-06-28"; version = "2023-07-02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ggandor"; owner = "ggandor";
repo = "leap.nvim"; repo = "leap.nvim";
rev = "f41de5c1cfeb146e4b8c5ed20e5b32230457ff25"; rev = "aadf42e0ab97b38715e6233f253cd571dd3bb96c";
sha256 = "0wga34195dg19x4y01mhs2pipxlkmhdlzjhp6qybwd860d696hhi"; sha256 = "0454wh5fdrx0k2y53sshh9f98ar5f1cfslsz7rqp3c0kpwczs2k5";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -107,12 +107,12 @@ in
}; };
nvim-treesitter = buildVimPluginFrom2Nix { nvim-treesitter = buildVimPluginFrom2Nix {
pname = "nvim-treesitter"; pname = "nvim-treesitter";
version = "2023-07-02"; version = "2023-07-03";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-treesitter"; owner = "nvim-treesitter";
repo = "nvim-treesitter"; repo = "nvim-treesitter";
rev = "254f3da6832252d579962ca6dcafae9c164de4ed"; rev = "c42a8f96d37be82cf32934c4351150d7736f93f5";
sha256 = "08ji930xj9fvyz2v7qm102q75cvgrs88bw5cl66qa7x7grkikkcm"; sha256 = "0zk7zs6w941adjq8dcn0z3ashnf30nqixy4ga6pydsqy4bqswi0r";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -140,12 +140,12 @@ in
}; };
telescope-nvim = buildVimPluginFrom2Nix { telescope-nvim = buildVimPluginFrom2Nix {
pname = "telescope.nvim"; pname = "telescope.nvim";
version = "2023-07-01"; version = "2023-07-02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-telescope"; owner = "nvim-telescope";
repo = "telescope.nvim"; repo = "telescope.nvim";
rev = "b14de80d1cdf66f988f6550ca8577c43bb3797cd"; rev = "0e0600908d1ad5ac4992fa0ab578e23e9d9d6f37";
sha256 = "1b2fsls9hnaa17fp08206pwx6krlgr8bryhk2mnw30w0zgb8bqfr"; sha256 = "0nf1pc84mk6cncb120j6dwcynkbxf2s6crji30aq99zs92n3wi0w";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -308,12 +308,12 @@ in
}; };
friendly-snippets = buildVimPluginFrom2Nix { friendly-snippets = buildVimPluginFrom2Nix {
pname = "friendly-snippets"; pname = "friendly-snippets";
version = "2023-07-01"; version = "2023-07-02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rafamadriz"; owner = "rafamadriz";
repo = "friendly-snippets"; repo = "friendly-snippets";
rev = "ad7cef5d538b023ee3af0fe3170cadb096171b1f"; rev = "c85153a188b260b908bc35ffedff64810a930b64";
sha256 = "1r9fw78krp8vhw6prbxnmqlv91jhh53cs3z9mhfzyizlgr112469"; sha256 = "038xfax1jxj7svaz54if43sjn86dlj9g162mya0vd810hhl09g2f";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };

View file

@ -1,5 +1,9 @@
{ config, ... }: { config, ... }:
let
podman = config.virtualisation.podman.package;
image = "ghcr.io/nanos/fedifetcher:latest";
in
{ {
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d /var/lib/fedifetcher 0744 root root" "d /var/lib/fedifetcher 0744 root root"
@ -14,8 +18,6 @@
serviceConfig = serviceConfig =
let let
podman = config.virtualisation.podman.package;
image = "ghcr.io/nanos/fedifetcher:latest";
data = "/var/lib/fedifetcher:/app/artifacts"; data = "/var/lib/fedifetcher:/app/artifacts";
in in
{ {
@ -23,4 +25,14 @@
ExecStart = "${podman}/bin/podman run --name fedifetcher -v ${data} --rm ${image} --config=/app/artifacts/config.json"; ExecStart = "${podman}/bin/podman run --name fedifetcher -v ${data} --rm ${image} --config=/app/artifacts/config.json";
}; };
}; };
systemd.services.fedifetcher-updater = {
description = "FediFetcher Updater";
startAt = "daily";
serviceConfig = {
Type = "oneshot";
ExecStart = "${podman}/bin/podman pull ${image}";
};
};
} }

View file

@ -16,6 +16,10 @@
onlySSL = true; onlySSL = true;
useACMEHost = "daniel.sx"; useACMEHost = "daniel.sx";
extraConfig = ''
client_max_body_size 32m;
'';
locations."/" = { locations."/" = {
recommendedProxySettings = true; recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:8014"; proxyPass = "http://127.0.0.1:8014";