diff options
author | Tim Keller <tjkeller.xyz> | 2024-10-03 20:01:03 -0500 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-10-03 20:01:03 -0500 |
commit | a651a2150aca24d915f7d139f6a8bcce9c6f641b (patch) | |
tree | baeeb41312669a24919aeec8dd13bae618ea5470 /modules/root/autologin.nix | |
parent | 9aad420411b703278ac555858dc60f14f8f156bc (diff) | |
download | nixos-a651a2150aca24d915f7d139f6a8bcce9c6f641b.tar.xz nixos-a651a2150aca24d915f7d139f6a8bcce9c6f641b.zip |
fix awesome with luajit and add some more cool stuff
Diffstat (limited to 'modules/root/autologin.nix')
-rw-r--r-- | modules/root/autologin.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/root/autologin.nix b/modules/root/autologin.nix new file mode 100644 index 0000000..6e66160 --- /dev/null +++ b/modules/root/autologin.nix @@ -0,0 +1,13 @@ +{ lib, config, userDetails, ... }: { + options = { + autologin.enable = lib.mkEnableOption "enables getty automatic login"; + #autologin.user = lib.mkEnableOption "populate username"; + #autologin.password = lib.mkEnableOption "populate password"; + }; + + config = lib.mkIf config.autologin.enable { + services.getty = { + autologinUser = userDetails.username; + }; + }; +} |