1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-01 16:33:55 +00:00
ultima/modules/nixos/services/getty/default.nix
2024-11-21 18:24:15 +09:00

17 lines
322 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 = {
autologinUser = userName;
greetingLine = "Good day my lord ahhhh ${userName}";
};
};
}