guix/gnu
Rutherther 94f9177cf8
install: Show different motd in headless console.
motd is shown by the pam module, it doesn't support changing what motd gets
displayed easily. The only way to control it is by read permissions on
individual motd files, making files unreadable by the user logging in.

So instead of that, make a custom script that prints different motd,
checking if a temporary file exists. An environment variable would be better
suited for this purpose, but those aren't passed through by PAM.

* gnu/system/install.scm
(%installation-login-pam-service): New variable. Modified login pam service.
(%installation-console-login): New variable. Wrapper around login to create a
file for PAM rule.
(%installation-services): Use new login pam service and wrapper.

Change-Id: I5e05e604b3106390181190559ade62ca5e2db216
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-14 09:17:34 +01:00
..
bootloader
build install: Register agetty on primary console on AArch64. 2026-01-14 09:17:33 +01:00
home Update Giacomo's email address. 2025-12-03 14:38:09 +09:00
installer installer: network: Check response code to assess substitute availability. 2026-01-14 09:16:50 +01:00
machine
packages gnu: sudo: Add libxcrypt dependency on the Hurd. 2026-01-14 09:16:48 +01:00
services install: Register agetty on primary console on AArch64. 2026-01-14 09:17:33 +01:00
system install: Show different motd in headless console. 2026-01-14 09:17:34 +01:00
tests services: nscd: Cause PID 1 to drop nscd database mappings on shutdown. 2025-12-19 00:05:43 +01:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm installer: Drop uri from provenance log. 2025-12-22 23:00:46 +01:00
local.mk gnu: freerdp: Update to 3.20.0. 2026-01-14 09:16:44 +01:00
machine.scm
packages.scm
services.scm
system.scm system: operating-system-etc-service: Unset GUIX_PROFILE. 2026-01-04 12:46:57 +01:00
tests.scm