From 0cfcb5908cc7164236f78cd21e02cc168dd028ac Mon Sep 17 00:00:00 2001 From: pennae Date: Tue, 30 Aug 2022 12:35:47 +0200 Subject: nixos/*: -> most of the screen tags used in option docs are actually listings of some sort. nsd had a notable exception where its screen usage was pretty much a raw markdown block that made most sense to convert into docbook lists. --- nixos/modules/system/activation/top-level.nix | 6 +++--- nixos/modules/system/boot/initrd-ssh.nix | 11 ++++++----- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'nixos/modules/system') diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix index 76150cc95999..9f27727cbf8b 100644 --- a/nixos/modules/system/activation/top-level.nix +++ b/nixos/modules/system/activation/top-level.nix @@ -172,9 +172,9 @@ in To switch to a specialised configuration (e.g. fewJobsManyCores) at runtime, run: - - # sudo /run/current-system/specialisation/fewJobsManyCores/bin/switch-to-configuration test - + + sudo /run/current-system/specialisation/fewJobsManyCores/bin/switch-to-configuration test + ''; type = types.attrsOf (types.submodule ( local@{ ... }: let diff --git a/nixos/modules/system/boot/initrd-ssh.nix b/nixos/modules/system/boot/initrd-ssh.nix index 265399e562fc..171c51308a79 100644 --- a/nixos/modules/system/boot/initrd-ssh.nix +++ b/nixos/modules/system/boot/initrd-ssh.nix @@ -51,12 +51,13 @@ in Specify SSH host keys to import into the initrd. To generate keys, use - ssh-keygen1: + ssh-keygen1 + as root: - - # ssh-keygen -t rsa -N "" -f /etc/secrets/initrd/ssh_host_rsa_key - # ssh-keygen -t ed25519 -N "" -f /etc/secrets/initrd/ssh_host_ed25519_key - + + ssh-keygen -t rsa -N "" -f /etc/secrets/initrd/ssh_host_rsa_key + ssh-keygen -t ed25519 -N "" -f /etc/secrets/initrd/ssh_host_ed25519_key + -- cgit 1.4.1