diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-02-12 13:53:12 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-02-12 13:54:53 -0800 |
| commit | 8c7ce797eb2a1c5b8b3c602ecd3300cd23e8b46c (patch) | |
| tree | 445cbdba282c01659a1e9a14583a1e7283106315 /hosts/common/system/motd.nix | |
| parent | hosts: import common modules (diff) | |
| download | infra-8c7ce797eb2a1c5b8b3c602ecd3300cd23e8b46c.tar.gz | |
hosts: rename commons to common
Diffstat (limited to 'hosts/common/system/motd.nix')
| -rw-r--r-- | hosts/common/system/motd.nix | 12 |
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} + ''; +} |
