switch to xanmod kernel

This commit is contained in:
Charlie Root 2024-10-23 00:07:16 +02:00
commit 011b66ca45
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
2 changed files with 34 additions and 14 deletions

View file

@ -3,14 +3,32 @@
lib,
pkgs,
...
}: {
}: let
inherit
(
pkgs.callPackage ./kernel/xanmod.nix {
inherit lib;
inherit
(pkgs)
stdenv
fetchFromGitHub
kernelPatches
buildLinux
variant
;
}
)
xanmod_blox
;
in {
# Time Zone
time.timeZone = "Europe/Zurich";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
console.keyMap = "de";
security.polkit.enable = true;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.kernelPackages = pkgs.linuxPackagesFor xanmod_blox;
programs.nix-ld.enable = true;
services = {
fstrim.enable = lib.mkDefault true;