From a651a2150aca24d915f7d139f6a8bcce9c6f641b Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 3 Oct 2024 20:01:03 -0500 Subject: fix awesome with luajit and add some more cool stuff --- modules/root/autologin.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/root/autologin.nix (limited to 'modules/root/autologin.nix') 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; + }; + }; +} -- cgit v1.2.3