Compare commits

...

6 Commits

Author SHA1 Message Date
Giulio De Pasquale
f221f5e2b3 helix: Replace rnix-lsp with nil 2023-01-01 16:48:58 +01:00
Giulio De Pasquale
955f9ccb39 Update lock 2023-01-01 13:34:17 +01:00
Giulio De Pasquale
63b2a4aa4b minio: Allow body of 500M. Allow manduria-wg 2023-01-01 13:33:52 +01:00
Giulio De Pasquale
9fa04584cc runas.rocks: Fix branch. master -> main 2023-01-01 13:33:11 +01:00
Giulio De Pasquale
9d6474a302 runas.rocks: Pull hourly 2023-01-01 13:32:14 +01:00
Giulio De Pasquale
da8e5572b5 lezzo: Pull hourly 2023-01-01 13:31:48 +01:00
5 changed files with 16 additions and 14 deletions

18
flake.lock generated
View File

@ -8,11 +8,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1670253003, "lastModified": 1672244468,
"narHash": "sha256-/tJIy4+FbsQyslq1ipyicZ2psOEd8dvl4OJ9lfisjd0=", "narHash": "sha256-xaZb8AZqoXRCSqPusCk4ouf+fUNP8UJdafmMTF1Ltlw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0e8125916b420e41bf0d23a0aa33fadd0328beb3", "rev": "89a8ba0b5b43b3350ff2e3ef37b66736b2ef8706",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -24,11 +24,11 @@
}, },
"nixos-unstable": { "nixos-unstable": {
"locked": { "locked": {
"lastModified": 1671717682, "lastModified": 1672568157,
"narHash": "sha256-LZ699rotWAmhhFh3Wd6Vi7e8U6mFrmGpr4EV3P/DNVQ=", "narHash": "sha256-Q7bZvvyMcgaWPy86yn4MzBe8KvURoBQaKLF68WAcjQI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b467047119513b2e1c4e2253d9699a8bdc3ff9f3", "rev": "1ca08d4c638a89f2c82bec993f9ca4893faf3241",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -40,11 +40,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1671525405, "lastModified": 1672353432,
"narHash": "sha256-MEgNxm/oRt5w4ycMENewfZQKOak0ixmjVPfXM96N1FA=", "narHash": "sha256-oZfgp/44/o2tWiylV30cR+DLyWTJ+5dhsdWZVpzs3e4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cbe419ed4c8f98bd82d169c321d339ea30904f1f", "rev": "913a47cd064cc06440ea84e5e0452039a85781f0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -32,7 +32,7 @@ in
timers.${service_name} = { timers.${service_name} = {
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
timerConfig = { timerConfig = {
OnCalendar = "daily"; OnCalendar = "hourly";
Unit = "${service_name}.service"; Unit = "${service_name}.service";
}; };
}; };

View File

@ -13,8 +13,10 @@ in {
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:9000"; proxyPass = "http://127.0.0.1:9000";
extraConfig = '' extraConfig = ''
client_max_body_size 500M;
allow 10.0.0.0/24; allow 10.0.0.0/24;
${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg } ${lib.concatMapStrings (x: "allow ${x};") network.gdevices-wg }
allow ${network.manduria-wg};
deny all; deny all;
''; '';
}; };

View File

@ -7,7 +7,7 @@ let
mkStartScript = name: pkgs.writeShellScript "${name}.sh" '' mkStartScript = name: pkgs.writeShellScript "${name}.sh" ''
set -euo pipefail set -euo pipefail
cd ${runas_root} cd ${runas_root}
git pull origin master --rebase git pull origin main --rebase
''; '';
in in
{ {
@ -32,7 +32,7 @@ in
timers.${service_name} = { timers.${service_name} = {
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
timerConfig = { timerConfig = {
OnCalendar = "daily"; OnCalendar = "hourly";
Unit = "${service_name}.service"; Unit = "${service_name}.service";
}; };
}; };

View File

@ -30,7 +30,7 @@
helix helix
clang-tools clang-tools
rust-analyzer rust-analyzer
rnix-lsp nil
python310Packages.python-lsp-server python310Packages.python-lsp-server
texlab texlab
nodePackages.vscode-langservers-extracted nodePackages.vscode-langservers-extracted