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,9 +11,15 @@
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;
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd = {
availableKernelModules = [
"nvme" "nvme"
"xhci_pci" "xhci_pci"
"ahci" "ahci"
@ -21,21 +27,49 @@
"usbhid" "usbhid"
"sd_mod" "sd_mod"
]; ];
boot.initrd.kernelModules = [ ]; kernelModules = [ ];
boot.extraModulePackages = [ ]; verbose = false;
boot.kernelModules = [ };
extraModulePackages = [ ];
kernelParams = [
"quiet"
"splash"
"vga=current"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
kernelModules = [
"kvm-amd" "kvm-amd"
"i2c-dev" "i2c-dev"
]; ];
# for ddcutil to work consoleLogLevel = 0;
};
# Configurations for ddcutil
hardware.i2c.enable = true; hardware.i2c.enable = true;
services.udev.extraRules = '' services.udev = {
enable = true;
extraRules = ''
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660" 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;
} }