Eee: SSD install, new tunnel key
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
81a5fef0b3
commit
b110ae6a54
2 changed files with 6 additions and 6 deletions
|
|
@ -30,7 +30,7 @@
|
||||||
# FredOS-Eee dials in and holds localhost:2222 -> its sshd open (see
|
# 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.
|
# hosts/FredOS-Eee.nix). Its key may open exactly that forward, nothing else.
|
||||||
users.users.fred.openssh.authorizedKeys.keys = [
|
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
|
# Reap dead sessions in ~3min so a dropped tunnel's port frees up for the
|
||||||
# reconnect (default is TCP keepalive: 2h).
|
# reconnect (default is TCP keepalive: 2h).
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#./hosts/hardware/FredOS-Eee.nix
|
#./hosts/hardware/FredOS-Eee.nix
|
||||||
#
|
#
|
||||||
# Asus Eee PC 1000HG: Atom N270 (i686 only, no x86_64), 1GB RAM, GMA 945,
|
# 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, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -19,17 +19,17 @@
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
device = "/dev/sda";
|
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;
|
memtest86.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/3b1f4a1a-a5f7-480d-8bc1-a372b846d22c";
|
device = "/dev/disk/by-label/nixos";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
# sda2 (uuid 32ca4097-…) is swap but left off: paging a browser to this disk
|
# No disk swap: paging a browser to the old HDD froze the box for minutes.
|
||||||
# froze the box for minutes. zram only, so earlyoom fires before a thrash.
|
# zram only, so earlyoom fires before a thrash.
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
nixpkgs.hostPlatform = "i686-linux";
|
nixpkgs.hostPlatform = "i686-linux";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue