mirror of
https://git.sr.ht/~neverness/ultima
synced 2024-12-29 18:43:52 +00:00
27 lines
352 B
Nix
27 lines
352 B
Nix
{
|
|
x,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
with x;
|
|
let
|
|
cfg = config.module.services.getty;
|
|
in
|
|
{
|
|
options = {
|
|
module.services.getty = {
|
|
enable = mkBool;
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.getty = {
|
|
greetingLine = "Good day my lord ahhhh ${userName}";
|
|
helpLine = "";
|
|
autologinOnce = true;
|
|
};
|
|
};
|
|
}
|