1
0
Fork 0
This commit is contained in:
Daniel Kempkens 2023-04-14 20:19:51 +02:00
parent cebfc68a81
commit fd07ca6667
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
3 changed files with 14 additions and 10 deletions

View file

@ -111,19 +111,19 @@ in
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-treesitter"; owner = "nvim-treesitter";
repo = "nvim-treesitter"; repo = "nvim-treesitter";
rev = "f499a711fa5c573b5ba0af09a3c9955a6c14b062"; rev = "f7e8b7420ccf8bc61534ea6155db03d62c7ff571";
sha256 = "1aaw83878lqn4wnggjz4y3qgdilgk19iwdnhmpviff0q97lvqydb"; sha256 = "0vydjw0drzprvn38wi8a027n3a2fj5ic1i662nrplz7d2bf9vvwz";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
nvim-ts-rainbow2 = buildVimPluginFrom2Nix { nvim-ts-rainbow2 = buildVimPluginFrom2Nix {
pname = "nvim-ts-rainbow2"; pname = "nvim-ts-rainbow2";
version = "2023-04-07"; version = "2023-04-14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "HiPhish"; owner = "HiPhish";
repo = "nvim-ts-rainbow2"; repo = "nvim-ts-rainbow2";
rev = "2c82e0965be2baf67fa2d3d48f3747437fde7204"; rev = "7f814b9d6e4ef6f1f5b09526ba16b75125173480";
sha256 = "1f31bx466vl1if7kinbb1szrl65b9gq06v32nf9h6s5rs4yvmpv4"; sha256 = "1l2p3q1n4ax4kyx5j044wxc22k7ay4rx2bh0lpaskmia47khd4ja";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -396,12 +396,12 @@ in
}; };
cmp-cmdline = buildVimPluginFrom2Nix { cmp-cmdline = buildVimPluginFrom2Nix {
pname = "cmp-cmdline"; pname = "cmp-cmdline";
version = "2023-02-16"; version = "2023-04-14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hrsh7th"; owner = "hrsh7th";
repo = "cmp-cmdline"; repo = "cmp-cmdline";
rev = "8fcc934a52af96120fe26358985c10c035984b53"; rev = "af88e700417c6449719fc77f6f3745f88e42d5da";
sha256 = "1bhhna3f1xzf6y7q6iq9v2369w0jrgnh0hngnw84wh79pknqsgb3"; sha256 = "07wkbyzia7b7m99dd96km3qhdl8ndibjnsjix5skzqsvxjv24jib";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };

View file

@ -26,6 +26,10 @@
''; '';
}; };
systemd.tmpfiles.rules = [
"d /run/nginx-sockets 0777 root root"
];
networking.firewall.interfaces = networking.firewall.interfaces =
let let
interfaces = lib.mapAttrsToList (_: value: lib.attrsets.attrByPath [ "matchConfig" "Name" ] null value) config.systemd.network.networks ++ [ "tailscale0" ]; interfaces = lib.mapAttrsToList (_: value: lib.attrsets.attrByPath [ "matchConfig" "Name" ] null value) config.systemd.network.networks ++ [ "tailscale0" ];

View file

@ -26,7 +26,7 @@
User = "nobody"; User = "nobody";
NetworkNamespacePath = "/var/run/netns/wg"; NetworkNamespacePath = "/var/run/netns/wg";
UMask = "000"; UMask = "000";
ExecStart = "${pkgs.socat}/bin/socat -d -d UNIX-LISTEN:/run/socat_prowlarr.sock,unlink-early,fork TCP4:127.0.0.1:9696"; ExecStart = "${pkgs.socat}/bin/socat -d -d UNIX-LISTEN:/run/nginx-sockets/prowlarr.sock,unlink-early,fork TCP4:127.0.0.1:9696";
Restart = "on-failure"; Restart = "on-failure";
}; };
}; };
@ -40,7 +40,7 @@
locations."/" = { locations."/" = {
recommendedProxySettings = true; recommendedProxySettings = true;
proxyPass = "http://unix:/run/socat_prowlarr.sock:/"; proxyPass = "http://unix:/run/nginx-sockets/prowlarr.sock:/";
}; };
}; };
} }