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

17 lines
322 B
Nix
Raw Normal View History

2024-11-21 09:24:15 +00:00
{ lib, config, userName, ... }:
with lib;
let cfg = config.module.services.getty;
in {
options = { module.services.getty = { enable = mkEnableOption ""; }; };
config = mkIf cfg.enable {
services.getty = {
autologinUser = userName;
greetingLine = "Good day my lord ahhhh ${userName}";
};
};
}