use autologin only on skipper

This commit is contained in:
Adithya 2023-04-15 22:37:18 +05:30
parent ac691465ab
commit 6d1ba17c92
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,8 @@
{ pkgs, ... }: {
{ pkgs, ... }:
let
user = import ../../users/user.nix;
in
{
imports = [
./dbus.nix
./pipewire.nix
@ -11,6 +14,7 @@
fstrim.enable = true;
fwupd.enable = true;
geoclue2.enable = true;
getty.autologinUser = user.primary.userName;
gnome.gnome-keyring.enable = true;
gvfs.enable = true;
lvm.dmeventd.enable = true;

View file

@ -3,7 +3,6 @@ let
user = import ./user.nix;
in
{
services.getty.autologinUser = user.primary.userName;
users.mutableUsers = false;
users.users = {
root.hashedPassword = user.root.hashedPassword;