1
0
Fork 0
mirror of https://git.sr.ht/~azikx/karbur synced 2024-10-30 11:26:21 +00:00
karbur/modules(WIP)/host/services/getty/default.nix

17 lines
303 B
Nix
Raw Permalink Normal View History

2024-10-26 09:23:16 +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";
};
};
}