1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-01 15:53:52 +00:00
ultima/modules/nixos/services/getty/default.nix
2024-12-09 10:15:55 +09:00

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;
};
};
}