From 8c7ce797eb2a1c5b8b3c602ecd3300cd23e8b46c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Feb 2022 13:53:12 -0800 Subject: hosts: rename commons to common --- hosts/common/system/motd.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 hosts/common/system/motd.nix (limited to 'hosts/common/system/motd.nix') diff --git a/hosts/common/system/motd.nix b/hosts/common/system/motd.nix new file mode 100644 index 0000000..898d03f --- /dev/null +++ b/hosts/common/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 v1.2.3