From b2fa75befaa13a9a6ae875205e9c904ec549ab4c Mon Sep 17 00:00:00 2001 From: Matthew Stobbs Date: Tue, 18 Aug 2026 10:26:11 -0500 Subject: [PATCH] configure actual display manager --- demilich/configuration.nix | 17 ++++++++++------- demilich/hardware-configuration.nix | 10 +++++++++- demilich/packages.nix | 6 ++++++ demilich/services.nix | 9 --------- 4 files changed, 25 insertions(+), 17 deletions(-) diff --git a/demilich/configuration.nix b/demilich/configuration.nix index b92af88..171a396 100644 --- a/demilich/configuration.nix +++ b/demilich/configuration.nix @@ -81,13 +81,16 @@ # services.printing.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.stobbsm = { - isNormalUser = true; - extraGroups = [ - "wheel" - "seat" - ]; # Enable ‘sudo’ for the user. - shell = pkgs.zsh; + users = { + defaultUserShell = pkgs.zsh; + users.stobbsm = { + isNormalUser = true; + extraGroups = [ + "wheel" + "seat" + ]; + shell = pkgs.zsh; + }; }; # Copy the NixOS configuration file and link it from the resulting system diff --git a/demilich/hardware-configuration.nix b/demilich/hardware-configuration.nix index ec5f209..d5c4dfb 100644 --- a/demilich/hardware-configuration.nix +++ b/demilich/hardware-configuration.nix @@ -23,6 +23,7 @@ "sd_mod" "rtsx_pci_sdmmc" "iwlwifi" + "iwlmvm" ]; kernelModules = [ ]; systemd = { @@ -38,6 +39,7 @@ boot.kernelModules = [ "kvm-intel" "iwlwifi" + "iwlmvm" ]; boot.extraModulePackages = [ ]; @@ -60,5 +62,11 @@ ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware = { + bluetooth = { + enable = true; + powerOnBoot = false; + }; + cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + }; } diff --git a/demilich/packages.nix b/demilich/packages.nix index 2b525ea..f47ca17 100644 --- a/demilich/packages.nix +++ b/demilich/packages.nix @@ -8,6 +8,12 @@ }; }) ]; + documentation = { + man = { + generateCaches = true; + }; + }; + # List packages installed in system profile. # You can use https://search.nixos.org/ to find more packages (and options). environment.systemPackages = with pkgs; [ diff --git a/demilich/services.nix b/demilich/services.nix index 0fedd46..3b0ec85 100644 --- a/demilich/services.nix +++ b/demilich/services.nix @@ -78,15 +78,6 @@ libinput.enable = true; printing.enable = true; - greetd = { - enable = true; - settings = { - default_session = { - command = "${config.programs.niri.package}/bin/niri-session"; - user = "stobbsm"; - }; - }; - }; gnome = { gnome-keyring = { enable = true;