From 2e883eec26043046db430b14c8c063495f54335d Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Mon, 3 Jul 2023 10:26:35 +0200 Subject: [PATCH] Update deps --- flake.lock | 12 ++++++------ home/programs/nvim/plugins.nix | 24 ++++++++++++------------ system/nixos/fedifetcher.nix | 16 ++++++++++++++-- system/nixos/wefwef.nix | 4 ++++ 4 files changed, 36 insertions(+), 20 deletions(-) diff --git a/flake.lock b/flake.lock index 9c1ca79..70a97ac 100644 --- a/flake.lock +++ b/flake.lock @@ -299,11 +299,11 @@ }, "locked": { "dir": "contrib", - "lastModified": 1688270970, - "narHash": "sha256-th5XFljOLLL4IHdLr6RTN/2rCYJaJ07s5Kcl/t9H1Ow=", + "lastModified": 1688370807, + "narHash": "sha256-dIAGd1VDsb260ZZgm/jOTmjI4nIg8V2IQNfMRn4u1YA=", "owner": "neovim", "repo": "neovim", - "rev": "2031812348e79e3d854d444b53e69340ab42e5dd", + "rev": "f771d6247147b393238fe57065a96fb5e9635358", "type": "github" }, "original": { @@ -324,11 +324,11 @@ "weewx-proxy-flake": "weewx-proxy-flake" }, "locked": { - "lastModified": 1688286073, - "narHash": "sha256-w/+SEveySUafjCaA0s680Qz4qMwZAua128Hb6ea6rFU=", + "lastModified": 1688372539, + "narHash": "sha256-Wi8toaizxsPXN4SG4FWKYzhkjoos4XNGfLKHRofLJg0=", "owner": "nifoc", "repo": "nix-overlay", - "rev": "44b2a9bd20cd9c4230a262c7fa023435cc82abc8", + "rev": "d1ba0fb4ad08ee692bbddabb1ef6e5cb34a9ae78", "type": "github" }, "original": { diff --git a/home/programs/nvim/plugins.nix b/home/programs/nvim/plugins.nix index f0775aa..6404402 100644 --- a/home/programs/nvim/plugins.nix +++ b/home/programs/nvim/plugins.nix @@ -85,12 +85,12 @@ in }; leap-nvim = buildVimPluginFrom2Nix { pname = "leap.nvim"; - version = "2023-06-28"; + version = "2023-07-02"; src = fetchFromGitHub { owner = "ggandor"; repo = "leap.nvim"; - rev = "f41de5c1cfeb146e4b8c5ed20e5b32230457ff25"; - sha256 = "0wga34195dg19x4y01mhs2pipxlkmhdlzjhp6qybwd860d696hhi"; + rev = "aadf42e0ab97b38715e6233f253cd571dd3bb96c"; + sha256 = "0454wh5fdrx0k2y53sshh9f98ar5f1cfslsz7rqp3c0kpwczs2k5"; fetchSubmodules = false; }; }; @@ -107,12 +107,12 @@ in }; nvim-treesitter = buildVimPluginFrom2Nix { pname = "nvim-treesitter"; - version = "2023-07-02"; + version = "2023-07-03"; src = fetchFromGitHub { owner = "nvim-treesitter"; repo = "nvim-treesitter"; - rev = "254f3da6832252d579962ca6dcafae9c164de4ed"; - sha256 = "08ji930xj9fvyz2v7qm102q75cvgrs88bw5cl66qa7x7grkikkcm"; + rev = "c42a8f96d37be82cf32934c4351150d7736f93f5"; + sha256 = "0zk7zs6w941adjq8dcn0z3ashnf30nqixy4ga6pydsqy4bqswi0r"; fetchSubmodules = false; }; }; @@ -140,12 +140,12 @@ in }; telescope-nvim = buildVimPluginFrom2Nix { pname = "telescope.nvim"; - version = "2023-07-01"; + version = "2023-07-02"; src = fetchFromGitHub { owner = "nvim-telescope"; repo = "telescope.nvim"; - rev = "b14de80d1cdf66f988f6550ca8577c43bb3797cd"; - sha256 = "1b2fsls9hnaa17fp08206pwx6krlgr8bryhk2mnw30w0zgb8bqfr"; + rev = "0e0600908d1ad5ac4992fa0ab578e23e9d9d6f37"; + sha256 = "0nf1pc84mk6cncb120j6dwcynkbxf2s6crji30aq99zs92n3wi0w"; fetchSubmodules = false; }; }; @@ -308,12 +308,12 @@ in }; friendly-snippets = buildVimPluginFrom2Nix { pname = "friendly-snippets"; - version = "2023-07-01"; + version = "2023-07-02"; src = fetchFromGitHub { owner = "rafamadriz"; repo = "friendly-snippets"; - rev = "ad7cef5d538b023ee3af0fe3170cadb096171b1f"; - sha256 = "1r9fw78krp8vhw6prbxnmqlv91jhh53cs3z9mhfzyizlgr112469"; + rev = "c85153a188b260b908bc35ffedff64810a930b64"; + sha256 = "038xfax1jxj7svaz54if43sjn86dlj9g162mya0vd810hhl09g2f"; fetchSubmodules = false; }; }; diff --git a/system/nixos/fedifetcher.nix b/system/nixos/fedifetcher.nix index 56ed03f..af62937 100644 --- a/system/nixos/fedifetcher.nix +++ b/system/nixos/fedifetcher.nix @@ -1,5 +1,9 @@ { config, ... }: +let + podman = config.virtualisation.podman.package; + image = "ghcr.io/nanos/fedifetcher:latest"; +in { systemd.tmpfiles.rules = [ "d /var/lib/fedifetcher 0744 root root" @@ -14,8 +18,6 @@ serviceConfig = let - podman = config.virtualisation.podman.package; - image = "ghcr.io/nanos/fedifetcher:latest"; data = "/var/lib/fedifetcher:/app/artifacts"; in { @@ -23,4 +25,14 @@ 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}"; + }; + }; } diff --git a/system/nixos/wefwef.nix b/system/nixos/wefwef.nix index acae211..f94ec0f 100644 --- a/system/nixos/wefwef.nix +++ b/system/nixos/wefwef.nix @@ -16,6 +16,10 @@ onlySSL = true; useACMEHost = "daniel.sx"; + extraConfig = '' + client_max_body_size 32m; + ''; + locations."/" = { recommendedProxySettings = true; proxyPass = "http://127.0.0.1:8014";