From 0c8df4dd207e8428940037bfc7620f2dfc9dbd7c Mon Sep 17 00:00:00 2001 From: William Date: Thu, 7 Dec 2023 15:15:24 -0300 Subject: [PATCH] fixed boot resolution --- hosts/desktops/common/services.nix | 4 ++++ hosts/desktops/rotterdam/hardware-configuration.nix | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/desktops/common/services.nix b/hosts/desktops/common/services.nix index af7847f..0a4d3d4 100644 --- a/hosts/desktops/common/services.nix +++ b/hosts/desktops/common/services.nix @@ -31,6 +31,10 @@ in { excludePackages = (with pkgs; [ xterm ]); displayManager = { defaultSession = "plasmawayland"; + autoLogin = { + enable = true; + user = "user"; + }; sddm = { enable = true; wayland = { diff --git a/hosts/desktops/rotterdam/hardware-configuration.nix b/hosts/desktops/rotterdam/hardware-configuration.nix index 4a68d06..3602f76 100644 --- a/hosts/desktops/rotterdam/hardware-configuration.nix +++ b/hosts/desktops/rotterdam/hardware-configuration.nix @@ -5,7 +5,8 @@ boot = { initrd = { - availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; + availableKernelModules = + [ "amdgpu" "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; luks.devices."cryptroot".device = "/dev/disk/by-uuid/f7dd4142-7109-4493-834d-4a831777f08d"; };