add autologin for alien
This commit is contained in:
parent
a27ed71dbc
commit
c8e4343f49
3 changed files with 16 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -29,4 +29,6 @@
|
|||
size = 32000; # 32GB
|
||||
}
|
||||
];
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue