Server: add rust_motd
This commit is contained in:
parent
a826c532e5
commit
99a17a7c79
2 changed files with 14 additions and 0 deletions
|
|
@ -13,5 +13,6 @@
|
|||
./tailscale.nix
|
||||
./traefik.nix
|
||||
./dns.nix
|
||||
./rust_motd.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
13
roles/server/rust_motd.nix
Normal file
13
roles/server/rust_motd.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{...}: {
|
||||
programs.rust-motd = {
|
||||
enable = true;
|
||||
enableMotdInSSHD = true;
|
||||
settings = {
|
||||
filesystems = {
|
||||
Root = "/";
|
||||
Boot = "/boot/efi";
|
||||
};
|
||||
last_run.last_run = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue