From 7e7e42b4d58e90466c9f8926c3804aa23be47877 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 14 Dec 2025 13:20:44 -0800 Subject: display the git SHA for the nixos version in MOTD --- profiles/defaults.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'profiles') diff --git a/profiles/defaults.nix b/profiles/defaults.nix index d98daa0..6ada4c7 100644 --- a/profiles/defaults.nix +++ b/profiles/defaults.nix @@ -1,5 +1,4 @@ { - self, config, pkgs, lib, @@ -100,8 +99,8 @@ environment.etc.motd.text = '' Machine ${config.networking.hostName} - NixOS ${config.system.nixos.release} - @ ${self.shortRev or self.dirtyShortRev} + NixOS ${config.system.nixos.versionSuffix} + @ ${config.system.configurationRevision} ''; ## disable that slow "building man-cache" step -- cgit v1.2.3