From b110ae6a54e646b89bc91b00ff0130f1f6d06f2f Mon Sep 17 00:00:00 2001 From: rope Date: Mon, 5 Oct 2026 13:20:53 +0100 Subject: [PATCH] Eee: SSD install, new tunnel key Co-Authored-By: Claude Opus 5.5 --- hosts/FredOS-Mediaserver.nix | 2 +- hosts/hardware/FredOS-Eee.nix | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hosts/FredOS-Mediaserver.nix b/hosts/FredOS-Mediaserver.nix index 28f2e3d..29ce8cd 100644 --- a/hosts/FredOS-Mediaserver.nix +++ b/hosts/FredOS-Mediaserver.nix @@ -30,7 +30,7 @@ # FredOS-Eee dials in and holds localhost:2222 -> its sshd open (see # hosts/FredOS-Eee.nix). Its key may open exactly that forward, nothing else. users.users.fred.openssh.authorizedKeys.keys = [ - ''restrict,port-forwarding,permitlisten="localhost:2222",command="${pkgs.coreutils}/bin/false" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOwVhdOMnFbOu9zS4jjrGyIPE00lJNc0IIKX/u04WwN5 eee-tunnel'' + ''restrict,port-forwarding,permitlisten="localhost:2222",command="${pkgs.coreutils}/bin/false" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDytimrM126GOrVlroh048Gt/w6Yv2x+Dp4rtUEueoYr eee-tunnel'' ]; # Reap dead sessions in ~3min so a dropped tunnel's port frees up for the # reconnect (default is TCP keepalive: 2h). diff --git a/hosts/hardware/FredOS-Eee.nix b/hosts/hardware/FredOS-Eee.nix index c89c205..cd9db29 100644 --- a/hosts/hardware/FredOS-Eee.nix +++ b/hosts/hardware/FredOS-Eee.nix @@ -1,7 +1,7 @@ #./hosts/hardware/FredOS-Eee.nix # # Asus Eee PC 1000HG: Atom N270 (i686 only, no x86_64), 1GB RAM, GMA 945, -# Atheros AR242x wifi. BIOS only, MBR disk: sda1 root, sda2 swap. +# Atheros AR242x wifi, Intel 520 SSD. BIOS only, MBR disk: sda1 root. { config, lib, pkgs, modulesPath, ... }: { imports = [ @@ -19,17 +19,17 @@ boot.loader.grub = { enable = true; device = "/dev/sda"; - # Kernel list corruption + random segfaults under load; suspect the RAM. + # Added to rule out RAM for the 6.18 oops (it passed). memtest86.enable = true; }; fileSystems."/" = { - device = "/dev/disk/by-uuid/3b1f4a1a-a5f7-480d-8bc1-a372b846d22c"; + device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; - # sda2 (uuid 32ca4097-…) is swap but left off: paging a browser to this disk - # froze the box for minutes. zram only, so earlyoom fires before a thrash. + # No disk swap: paging a browser to the old HDD froze the box for minutes. + # zram only, so earlyoom fires before a thrash. swapDevices = [ ]; nixpkgs.hostPlatform = "i686-linux";