Less logs in rune boot

This commit is contained in:
Chris Toph 2025-01-16 23:20:08 -05:00
parent 9e5c6b8292
commit 9f4b8a6e70

View file

@ -11,31 +11,65 @@
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
# Bootloader # Bootloader
boot.loader.systemd-boot.enable = true; boot = {
boot.loader.efi.canTouchEfiVariables = true; loader = {
boot.initrd.availableKernelModules = [ timeout = 0;
"nvme" systemd-boot.enable = true;
"xhci_pci" efi.canTouchEfiVariables = true;
"ahci" };
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.kernelModules = [
"kvm-amd"
"i2c-dev"
];
# for ddcutil to work initrd = {
availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
kernelModules = [ ];
verbose = false;
};
extraModulePackages = [ ];
kernelParams = [
"quiet"
"splash"
"vga=current"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
kernelModules = [
"kvm-amd"
"i2c-dev"
];
consoleLogLevel = 0;
};
# Configurations for ddcutil
hardware.i2c.enable = true; hardware.i2c.enable = true;
services.udev.extraRules = '' services.udev = {
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660" enable = true;
''; extraRules = ''
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
'';
# Extra Hardware Database (Hwdb) entries
# FIXME: not doing anything rn, mouse wheel still the same
extraHwdb = ''
# Logitech USB Receiver (for G903)
mouse:usb:v046dpC539:name:Logitech USB Receiver:*
MOUSE_WHEEL_CLICK_ANGLE=40
MOUSE_WHEEL_CLICK_COUNT=1
'';
};
# For less permission issues with SSHFS
programs.fuse.userAllowOther = true; programs.fuse.userAllowOther = true;
# File system configurations
fileSystems = { fileSystems = {
"/" = { "/" = {
device = "/dev/disk/by-uuid/28a9ac4d-1e87-4731-9c06-916711d83cb2"; device = "/dev/disk/by-uuid/28a9ac4d-1e87-4731-9c06-916711d83cb2";
@ -75,6 +109,10 @@
swapDevices = [ { device = "/dev/disk/by-uuid/81b6fa27-af94-41d4-9070-8754087a4c26"; } ]; swapDevices = [ { device = "/dev/disk/by-uuid/81b6fa27-af94-41d4-9070-8754087a4c26"; } ];
# Time and networking configurations
time.hardwareClockInLocalTime = true; # Fixes windows dual-boot time issues
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
# Hardware configurations
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }