From c8e4343f49863422a20d2e53fa5c14ec2a88119a Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Wed, 12 Nov 2025 10:54:17 -0500 Subject: [PATCH] add autologin for alien --- hosts/alien.nix | 16 ++++++++++++++-- hosts/all.nix | 2 -- hosts/peach.nix | 2 ++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/hosts/alien.nix b/hosts/alien.nix index fea340c..6080b28 100644 --- a/hosts/alien.nix +++ b/hosts/alien.nix @@ -1,4 +1,11 @@ -{ config, pkgs, lib, catppuccin, ... }: { +{ + config, + pkgs, + lib, + catppuccin, + ... +}: +{ networking.hostName = "alien"; catppuccin.accent = "blue"; @@ -27,6 +34,12 @@ "nvidia" ]; + services.displayManager.autoLogin = { + enable = true; + user = "sckova"; + }; + security.sudo.wheelNeedsPassword = true; + hardware.nvidia = { modesetting.enable = true; powerManagement.enable = false; @@ -35,4 +48,3 @@ package = pkgs.linuxPackages.nvidiaPackages.stable; }; } - diff --git a/hosts/all.nix b/hosts/all.nix index 7235503..8b5b629 100755 --- a/hosts/all.nix +++ b/hosts/all.nix @@ -131,8 +131,6 @@ in hashedPassword = "$6$bvwRUFaJNMpH8rm3$FGDWFN6tBScJ/2DynAjnlZE8JRfyADN78d6c4GawxpAjyNLNE/AjQzMA09tLRqpKX7WnN5PIUZLAm2bT9/RbG0"; }; - security.sudo.wheelNeedsPassword = false; - environment.sessionVariables = rec { MOZ_GMP_PATH = "${pkgs.widevine-firefox}/gmp-widevinecdm/system-installed"; }; diff --git a/hosts/peach.nix b/hosts/peach.nix index 5b817cb..116976d 100644 --- a/hosts/peach.nix +++ b/hosts/peach.nix @@ -29,4 +29,6 @@ size = 32000; # 32GB } ]; + + security.sudo.wheelNeedsPassword = false; }