diff --git a/configuration.nix b/configuration.nix index 41f374c..56ed5e7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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;