read: Add rust-motd

This commit is contained in:
Erwin Boskma 2024-11-05 17:41:26 +01:00
parent 38d7a5641c
commit 38150848d5
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -112,6 +112,27 @@
sudo.enable = false;
};
programs.rust-motd = {
enable = true;
settings = {
banner = {
command = "${pkgs.figlet}/bin/figlet -f slant ${config.networking.hostName}";
};
weather = {
loc = "De Westereen, Netherlands";
};
uptime = {
prefix = "up: ";
};
filesystems = {
root = "/";
};
memory = {
swap_pos = "none";
};
};
};
sops.defaultSopsFile = ./secrets.yaml;
sops.secrets = {
caddy-env = { };