mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-01 16:33:55 +00:00
14 lines
273 B
Nix
14 lines
273 B
Nix
{ lib, config, userName, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.services.getty;
|
|
in {
|
|
options = { module.services.getty = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
services.getty.greetingLine = "Good day my lord ahhhh ${userName}";
|
|
};
|
|
}
|
|
|