mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-28 14:50:55 +01:00
feat(servers): add motd
This commit is contained in:
parent
41e85f9114
commit
160615d4a0
1 changed files with 18 additions and 0 deletions
|
@ -12,4 +12,22 @@
|
||||||
url = "https://arkheon.luj.fr";
|
url = "https://arkheon.luj.fr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Nice motd
|
||||||
|
programs.rust-motd = {
|
||||||
|
enable = true;
|
||||||
|
order = [
|
||||||
|
"filesystems"
|
||||||
|
"memory"
|
||||||
|
"last_login"
|
||||||
|
"uptime"
|
||||||
|
];
|
||||||
|
settings = {
|
||||||
|
uptime.prefix = "Up";
|
||||||
|
filesystems.root = "/";
|
||||||
|
memory.swap_pos = "below";
|
||||||
|
last_login.root = 3;
|
||||||
|
last_login.julien = 3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue