1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-04 10:43:53 +00:00
ultima/modules/nixos/services/getty/default.nix

18 lines
328 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;
};
};
}