Eee: SSD install, new tunnel key

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-05 13:20:53 +01:00
parent 81a5fef0b3
commit b110ae6a54
2 changed files with 6 additions and 6 deletions

View file

@ -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).

View file

@ -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";