home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 60199bb497a920c7d18a1917b5099522b6f1f449
parent a748592c58e42d3f5f3985b90ba8e5ee75306dde
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 10 Jun 2020 10:03:04 +0200

systems/core: add a motd 😛

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/modules/core/default.nix | 1+
Asystems/modules/core/users.nix | 13+++++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/systems/modules/core/default.nix b/systems/modules/core/default.nix @@ -4,6 +4,7 @@ ./home-manager.nix ./nix.nix ./nur.nix + ./users.nix ]; boot = { diff --git a/systems/modules/core/users.nix b/systems/modules/core/users.nix @@ -0,0 +1,13 @@ +{ config, ... }: +{ + users.motd = with config; '' + Welcome to ${networking.hostName} + + - This machine is managed by NixOS + - All changes are futile + + OS: Nixos ${system.nixos.release} (${system.nixos.codeName}) + Version: ${system.nixos.version} + Kernel: ${boot.kernelPackages.kernel.version} + ''; +}