feat: idols-aquamarine - use default kernel for stability

This commit is contained in:
Ryan Yin
2025-08-17 17:37:21 +08:00
parent 329f03c1e2
commit 74b19dd7dc
2 changed files with 9 additions and 10 deletions

View File

@@ -19,6 +19,7 @@
boot.loader.efi.efiSysMountPoint = "/boot";
boot.loader.systemd-boot.enable = true;
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/top-level/linux-kernels.nix
boot.kernelPackages = pkgs.linuxPackages_latest;
# boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;

View File

@@ -17,10 +17,9 @@ let
inherit (myvars.networking) proxyGateway proxyGateway6 nameservers;
inherit (myvars.networking.hostsAddr.${hostName}) iface ipv4;
ipv4WithMask = "${ipv4}/24";
in {
imports =
(mylib.scanPaths ./.)
++ [
in
{
imports = (mylib.scanPaths ./.) ++ [
disko.nixosModules.default
];
@@ -41,7 +40,6 @@ in {
# This doesnt define how much memory will be used by the zram swap devices.
zramSwap.memoryPercent = lib.mkForce 100;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelModules = [ "kvm-amd" ];
boot.extraModprobeConfig = "options kvm_amd nested=1"; # for amd cpu