aboutsummaryrefslogtreecommitdiff
path: root/hosts/common/system/motd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/system/motd.nix')
-rw-r--r--hosts/common/system/motd.nix12
1 files changed, 12 insertions, 0 deletions
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}
+ '';
+}