mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-01 15:53:52 +00:00
18 lines
338 B
Nix
18 lines
338 B
Nix
{ x, lib, config, userName, ... }:
|
|
|
|
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;
|
|
};
|
|
};
|
|
}
|
|
|