From 8ed3dfc9ebc52a50c3e6d4623204847822944422 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Feb 2022 13:47:59 -0800 Subject: move configurations and modules around Sorry, this is a mess, hopefully the last one. --- hosts/commons/system/motd.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 hosts/commons/system/motd.nix (limited to 'hosts/commons/system/motd.nix') diff --git a/hosts/commons/system/motd.nix b/hosts/commons/system/motd.nix new file mode 100644 index 0000000..898d03f --- /dev/null +++ b/hosts/commons/system/motd.nix @@ -0,0 +1,12 @@ +{config, ...}: +{ + users.motd = '' + Welcome + - This machine is managed with nix + + Hostname: ${config.networking.hostName} + OS: NixOS ${config.system.nixos.release} (${config.system.nixos.codeName}) + Version: ${config.system.nixos.version} + Kernel: ${config.boot.kernelPackages.kernel.version} + ''; +} -- cgit 1.4.1