Drop the debug root password from the image example

Installed routers get root's password from router-setup now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV9dZrK6nipHkPfyM4F
This commit is contained in:
2026-10-29 09:20:54 +01:00
co-authored by Claude Opus 5.5
parent f5909fbdcb
commit f01d4c14fb
2 changed files with 2 additions and 8 deletions
+1 -8
View File
@@ -1,10 +1,7 @@
# A bootable appliance image for trying the verity/read-only layout on real
# hardware (`nix build .#image`, then write image.raw to a disk). Same network
# shape as examples/desktop: one NIC, LAN untagged, PPPoE on VLAN 1001.
#
# DEBUGGING ONLY: root has the console password `testtest`, readable in the
# Nix store and this repository. Remove it before any real use.
{ lib, ... }:
{ ... }:
{
imports = [ ../../modules/image ];
@@ -29,10 +26,6 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHqyMLgAhEdnrRrd2CeYbphGDMPq/cBDjFJ4q4ItZusn nils@Nilss-Mac-mini.mch.stinnesbeck.com"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBFxbNNk87tvMxruuKvrryK7iAdf4xgS4xFqjKejNAI6 nils@nixtop"
];
users.users.root.password = "testtest";
warnings = [
"examples/image: root has the well-known debug console password `testtest`; remove it before production use."
];
router = {
enable = true;