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-12-06 21:57:22 +09:00

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