read: Add rust-motd
This commit is contained in:
parent
38d7a5641c
commit
38150848d5
1 changed files with 21 additions and 0 deletions
|
@ -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 = { };
|
||||
|
|
Loading…
Reference in a new issue