summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-21 11:54:40 +0100
committerMartin Fischer <martin@push-f.com>2024-12-21 11:54:40 +0100
commita65e4878a2556ac84d19781ae5bfc73397e77561 (patch)
tree9c6bf010b35ac9cfcd23c9ae314f985e398f2e40 /nixos
parentc844de01d5ecccd3d52bf2a280a84314b8a47a06 (diff)
hamac: enable autologin
Diffstat (limited to 'nixos')
-rw-r--r--nixos/hamac-configuration.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/hamac-configuration.nix b/nixos/hamac-configuration.nix
index a599fe4..1ddd371 100644
--- a/nixos/hamac-configuration.nix
+++ b/nixos/hamac-configuration.nix
@@ -46,6 +46,11 @@
packages = with pkgs; [];
};
+ services.getty = {
+ autologinUser = "martin";
+ autologinOnce = true; # only in the first tty once per boot
+ };
+
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [