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
stateVersion = "23.05";
@ -24,18 +24,12 @@ in
enable = true;
displayManager.gdm = {
enable = true;
settings = {
daemon = {
AutomaticLoginEnable = true;
AutomaticLogin = "pim";
};
};
};
desktopManager.gnome.enable = true;
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 = {
isNormalUser = true;
extraGroups = [ "wheel" ];
@ -50,7 +44,7 @@ in
ripgrep
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;