do not auto login

remove gnome totem
clean up home manager config
This commit is contained in:
nixos 2023-09-29 22:53:20 +02:00
parent 55a7772020
commit 4c53986c89

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }@args: { config, pkgs, lib, ... }@args:
let let
stateVersion = "23.05"; stateVersion = "23.05";
@ -24,18 +24,12 @@ in
enable = true; enable = true;
displayManager.gdm = { displayManager.gdm = {
enable = true; enable = true;
settings = {
daemon = {
AutomaticLoginEnable = true;
AutomaticLogin = "pim";
};
};
}; };
desktopManager.gnome.enable = true; desktopManager.gnome.enable = true;
excludePackages = with pkgs; [ xterm ]; excludePackages = with pkgs; [ xterm ];
}; };
home-manager.users.pim = import /home/pim/.config/home-manager/home.nix (args // { inherit stateVersion; }); home-manager.users.pim = import /home/pim/.config/home-manager/home.nix;
users.users.pim = { users.users.pim = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
@ -50,7 +44,7 @@ in
ripgrep ripgrep
vim vim
]; ];
gnome.excludePackages = with pkgs; [ gnome-tour gnome.epiphany gnome.geary gnome-console ]; gnome.excludePackages = with pkgs; [ gnome.totem gnome-tour gnome.epiphany gnome.geary gnome-console ];
}; };
system.stateVersion = stateVersion; system.stateVersion = stateVersion;