about summary refs log tree commit diff
path: root/nixos/modules/module-list.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-08-29 13:48:40 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2022-08-29 15:27:14 +0200
commit0178db0da3271cc04ad44de38997f405b19703fa (patch)
treee21c2ff1b4c370ba5124081593a1b87e921d3f66 /nixos/modules/module-list.nix
parent098951a03db7b5ecf33615353516092708384e7c (diff)
downloadnixlib-0178db0da3271cc04ad44de38997f405b19703fa.tar
nixlib-0178db0da3271cc04ad44de38997f405b19703fa.tar.gz
nixlib-0178db0da3271cc04ad44de38997f405b19703fa.tar.bz2
nixlib-0178db0da3271cc04ad44de38997f405b19703fa.tar.lz
nixlib-0178db0da3271cc04ad44de38997f405b19703fa.tar.xz
nixlib-0178db0da3271cc04ad44de38997f405b19703fa.tar.zst
nixlib-0178db0da3271cc04ad44de38997f405b19703fa.zip
nixos/rust-motd: init
Makes it easier to configure `rust-motd`. Currently, it takes care of
the following things:

* Creating a timer to regularly refresh the `motd`-text and a hardened
  service (which is still root to get access to e.g. fs-mounts, but
  read-only because of hardening flags).
* Disabling `PrintLastLog` in `sshd.conf` if the last-login feature of
  `rust-motd` is supposed to be used.
* Ensure that the banner is actually shown when connecting via `ssh(1)`
  to a remote server with this being enabled.
Diffstat (limited to 'nixos/modules/module-list.nix')
-rw-r--r--nixos/modules/module-list.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 308bd8cb717b..cb3599589cfe 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -204,6 +204,7 @@
   ./programs/plotinus.nix
   ./programs/proxychains.nix
   ./programs/qt5ct.nix
+  ./programs/rust-motd.nix
   ./programs/screen.nix
   ./programs/sedutil.nix
   ./programs/seahorse.nix