Moved desktop entries to a new file and added fingerprint sensor support (SDDM currently slowed down by it)

This commit is contained in:
2025-10-30 15:02:19 +01:00
parent 5455528f40
commit a5a17cdbfd
13 changed files with 152 additions and 98 deletions

View File

@ -34,7 +34,7 @@
grub = {
enable = true;
device = "/dev/sda"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
device = "/dev/nvme0n1"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
#devices = [ "nodev" ];
efiSupport = true;
useOSProber = true;
@ -95,6 +95,10 @@
#loadModels = [ ... ];
};
fprintd.enable = true;
fprintd.tod.enable = true;
fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix;
locate = {
enable = true;
package = pkgs.plocate;
@ -114,6 +118,7 @@
xserver = {
enable = true;
videoDrivers = [ "amdgpu" ];
xkb = {
layout = "de";
@ -158,6 +163,39 @@
# Configure console keymap
console.keyMap = "de";
hardware.enableRedistributableFirmware = true;
#Enables proprietary, redistributable firmware so hardware devices function properly
hardware.opengl = {
enable = true;
# Mesa should be enabled by default for Vulkan, but you can be explicit
driSupport32Bit = true; # For 32-bit applications
};
hardware.cpu.amd.updateMicrocode = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
# Shows battery charge of connected devices on supported
# Bluetooth adapters. Defaults to 'false'.
Experimental = true;
# When enabled other devices can connect faster to us, however
# the tradeoff is increased power consumption. Defaults to
# 'false'.
FastConnectable = true;
};
Policy = {
# Enable all controllers when they are found. This includes
# adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'true'.
AutoEnable = true;
};
};
};
# security.rtkit.enable = true;
# services.pipewire = {
# enable = true;