mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 14:20:52 +01:00
33 lines
617 B
Nix
33 lines
617 B
Nix
{ config, ... }:
|
|
{
|
|
deployment.tags = [ "server" ];
|
|
|
|
# Enable arkheon
|
|
age.secrets."arkheon-token".file = ../secrets/arkheon-token.age;
|
|
services.arkheon.record = {
|
|
enable = true;
|
|
|
|
tokenFile = config.age.secrets."arkheon-token".path;
|
|
|
|
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;
|
|
};
|
|
};
|
|
|
|
}
|