Regenerated

This commit is contained in:
2026-05-04 15:07:08 +02:00
parent dd468041c9
commit dcaac2fb0d
4 changed files with 407 additions and 503 deletions
@@ -10,43 +10,12 @@
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = [
"quiet"
"splash"
"udev.log_level=3"
"rd.systemd.show_status=false"
# Sleep / power management
"mem_sleep_default=deep"
"acpi_osi=Linux"
"acpi_backlight=native"
# Intel GPU
"i915.enable_psr=0"
"i915.enable_psr2_sel_fetch=0"
# NVMe
"nvme.noacpi=1"
];
boot.extraModprobeConfig = ''
options snd_hda_intel power_save=0
'';
boot.consoleLogLevel = 0;
# SUGGESTION: consider enabling initrd systemd — better plymouth integration
# and faster boot. Test it — it works well on most modern NixOS setups.
boot.initrd.systemd.enable = true;
boot.initrd.availableKernelModules = [
"xhci_pci"
"nvme"
"usb_storage"
"sd_mod"
"rtsx_usb_sdmmc"
];
boot.kernelModules = [
"kvm-intel" # QEMU/KVM virtualisation
];
boot.plymouth.enable = true;
+1 -2
View File
@@ -11,9 +11,8 @@ in
users.users.${username} = {
isNormalUser = true;
home = "/home/${username}";
hashedPassword = "$6$S7iShgBxB.77CwmP$i0njK.2r3OL5UEvgZbmwZ0rnpZ4QyJcv8p9uCmJ4AiVPSMXkQkIwMLzyAOnJ0q8.tPLIp/7EquEIZeK8qbmgw/";
extraGroups = [ "wheel" "networkmanager" "bluetooth" "input" ];
ignoreShellProgramCheck = true; # <-- avoids the assertion
ignoreShellProgramCheck = true;
shell = pkgs.zsh;
};