Update to NixOS 24.11, monitor GPFS, add paste service and switch to nginx #82
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "update-nixos-24.11"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Several changes:
The update seems to be working fine in Hut.
Flake lock file updates: • Updated input 'agenix': 'github:ryantm/agenix/de96bd907d5fbc3b14fc33ad37d1b9a3cb15edc6' (2024-07-09) → 'github:ryantm/agenix/f6291c5935fdc4e0bef208cfc0dcab7e3f7a1c41' (2024-08-10) • Updated input 'bscpkgs': 'git+https://git.sr.ht/~rodarima/bscpkgs?ref=refs/heads/master&rev=de89197a4a7b162db7df9d41c9d07759d87c5709' (2024-04-24) → 'git+https://git.sr.ht/~rodarima/bscpkgs?ref=refs/heads/master&rev=6782fc6c5b5a29e84a7f2c2d1064f4bcb1288c0f' (2024-11-29) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/693bc46d169f5af9c992095736e82c3488bf7dbb' (2024-07-14) → 'github:NixOS/nixpkgs/9c6b49aeac36e2ed73a8c472f1546f6d9cf1addc' (2025-01-14)Update to NixOS 24.05, monitor GPFS, add paste service and switch to nginxto Update to NixOS 24.11, monitor GPFS, add paste service and switch to nginx6995ce4554to8c4e4216baLGTM
I left a few suggestions, but it's mostly nitpicking.
@ -0,0 +18,4 @@systemd.services.gpfs-probe = {description = "Daemon to report GPFS latency via SSH";path = [ pkgs.openssh pkgs.netcat ];We could use
writeShellApplicationforgpfs-probe-scriptand put these asruntimeInputs.Yeah, but I also use the script manually so I want it to be in the FS as-is so I can modify it without waiting for Nix to regenerate it.
@ -0,0 +23,4 @@wantedBy = [ "default.target" ];serviceConfig = {Type = "simple";ExecStart = "${pkgs.socat}/bin/socat -d2 TCP4-LISTEN:9966,fork EXEC:${gpfs-probe-script}";${lib.getExe pkgs.socat}I don't think the binary will change any time soon. And if it does, I prefer to still change the path manually rather than relying on some auto-magic nix crap.
@ -0,0 +2,4 @@N=500t=$(timeout 5 ssh bsc015557@glogin2.bsc.es "timeout 3 command time -f %e touch /gpfs/projects/bsc15/bsc015557/gpfs.{1..$N} 2>&1; rm -f /gpfs/projects/bsc15/bsc015557/gpfs.{1..$N}")timeout 8 ssh -o ConnectTimeout=5Yeah, ConnectTimeout doesn't work when the home is fucked. The first timeout 5 also cuts the connection if the host is down so we don't need ConnectTimeout at all. I initially used 10 seconds, but I believe this is the prometheus timeout, so 5 seems safer. In any case, >1s already means the FS is broken.
@ -0,0 +2,4 @@letwebsite = pkgs.stdenv.mkDerivation {name = "jungle-web";src = theFlake;Is there any reason for not using
../../web?I believe it avoids copying the website twice in the store.
8c4e4216batofd530493d0fd530493d0to587caf262eMerged in
587caf262e, not sure why gitea doesn't detect it. Closing.Pull request closed