add autologin for alien

This commit is contained in:
Sean Kovacs 2025-11-12 10:54:17 -05:00
commit c8e4343f49
Signed by: sckova
GPG key ID: 00F325187C68651A
3 changed files with 16 additions and 4 deletions

View file

@ -1,4 +1,11 @@
{ config, pkgs, lib, catppuccin, ... }: { {
config,
pkgs,
lib,
catppuccin,
...
}:
{
networking.hostName = "alien"; networking.hostName = "alien";
catppuccin.accent = "blue"; catppuccin.accent = "blue";
@ -27,6 +34,12 @@
"nvidia" "nvidia"
]; ];
services.displayManager.autoLogin = {
enable = true;
user = "sckova";
};
security.sudo.wheelNeedsPassword = true;
hardware.nvidia = { hardware.nvidia = {
modesetting.enable = true; modesetting.enable = true;
powerManagement.enable = false; powerManagement.enable = false;
@ -35,4 +48,3 @@
package = pkgs.linuxPackages.nvidiaPackages.stable; package = pkgs.linuxPackages.nvidiaPackages.stable;
}; };
} }

View file

@ -131,8 +131,6 @@ in
hashedPassword = "$6$bvwRUFaJNMpH8rm3$FGDWFN6tBScJ/2DynAjnlZE8JRfyADN78d6c4GawxpAjyNLNE/AjQzMA09tLRqpKX7WnN5PIUZLAm2bT9/RbG0"; hashedPassword = "$6$bvwRUFaJNMpH8rm3$FGDWFN6tBScJ/2DynAjnlZE8JRfyADN78d6c4GawxpAjyNLNE/AjQzMA09tLRqpKX7WnN5PIUZLAm2bT9/RbG0";
}; };
security.sudo.wheelNeedsPassword = false;
environment.sessionVariables = rec { environment.sessionVariables = rec {
MOZ_GMP_PATH = "${pkgs.widevine-firefox}/gmp-widevinecdm/system-installed"; MOZ_GMP_PATH = "${pkgs.widevine-firefox}/gmp-widevinecdm/system-installed";
}; };

View file

@ -29,4 +29,6 @@
size = 32000; # 32GB size = 32000; # 32GB
} }
]; ];
security.sudo.wheelNeedsPassword = false;
} }