switch to xanmod kernel
This commit is contained in:
parent
8fbd1a7682
commit
011b66ca45
2 changed files with 34 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue