From cd8370ae4daef38b3f822197238ab231aef8850b Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Sat, 18 Oct 2025 18:50:42 +0200 Subject: [PATCH] add motd --- modules/flake-module.nix | 1 + modules/motd.nix | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 modules/motd.nix diff --git a/modules/flake-module.nix b/modules/flake-module.nix index 78a3d3b..565a96c 100644 --- a/modules/flake-module.nix +++ b/modules/flake-module.nix @@ -15,6 +15,7 @@ hardened-ssh-server.imports = [ ./hardened-ssh-server.nix ]; nextcloud.imports = [ ./nextcloud.nix ]; + server.imports = [ common.imports = [ { users.mutableUsers = lib.mkDefault false; diff --git a/modules/motd.nix b/modules/motd.nix new file mode 100644 index 0000000..1547318 --- /dev/null +++ b/modules/motd.nix @@ -0,0 +1,6 @@ +{ config, ... }: +{ + users.motd = '' + Welcome to ${config.networking.hostName}! + ''; +}