mirror of
https://git.sr.ht/~azikx/karbur
synced 2024-10-30 11:26:21 +00:00
17 lines
303 B
Nix
17 lines
303 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";
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|