Add a motd

This commit is contained in:
Daniel Frank 2019-06-28 17:37:47 +02:00
parent 8fb8cd65d5
commit 13a2335caf
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -102,6 +102,18 @@
users.extraUsers.root = { users.extraUsers.root = {
hashedPassword = "!"; hashedPassword = "!";
}; };
users.motd = with config; ''
Welcome to ${networking.hostName}.${networking.domain}
- This server is NixOS
- All changes must be done through the git repository at
/etc/nixos or https://github.com/freifunkhamburg/mail2-nixos-config/
- Other changes will be lost
OS: NixOS ${system.nixos.release} (${system.nixos.codeName})
Version: ${system.nixos.version}
Kernel: ${boot.kernelPackages.kernel.version}
'';
# This value determines the NixOS release with which your system is to be # This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database