cleanup kernel
This commit is contained in:
parent
0cf9532b5c
commit
f1a579f3ca
4 changed files with 2 additions and 47 deletions
|
@ -9,7 +9,6 @@
|
|||
./rollback.nix
|
||||
./secureboot.nix
|
||||
./security.nix
|
||||
./specialisations.nix
|
||||
./virtualisation.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
systemd.enable = true;
|
||||
};
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_zen;
|
||||
kernelParams = [ "quiet" ];
|
||||
kernel.sysctl = {
|
||||
"vm.swappiness" = 10;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, pkgs, ... }: {
|
||||
boot.plymouth = let theme = "dark_planet"; in {
|
||||
boot.plymouth = let theme = "flame"; in {
|
||||
enable = true;
|
||||
themePackages = lib.mkDefault [
|
||||
(pkgs.adi1090x-plymouth-themes.override { selected_themes = [ theme ]; })
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
{ lib
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
plymouth = theme: {
|
||||
enable = true;
|
||||
themePackages = lib.mkForce [
|
||||
(pkgs.adi1090x-plymouth-themes.override { selected_themes = [ theme ]; })
|
||||
];
|
||||
theme = lib.mkForce theme;
|
||||
};
|
||||
in
|
||||
{
|
||||
specialisation = {
|
||||
stable = {
|
||||
inheritParentConfig = true;
|
||||
configuration = {
|
||||
boot = {
|
||||
kernelPackages = lib.mkForce pkgs.linuxPackages;
|
||||
plymouth = plymouth "spinner_alt";
|
||||
};
|
||||
};
|
||||
};
|
||||
xanmod = {
|
||||
inheritParentConfig = true;
|
||||
configuration = {
|
||||
boot = {
|
||||
kernelPackages = lib.mkForce pkgs.linuxPackages_xanmod;
|
||||
plymouth = plymouth "deus_ex";
|
||||
};
|
||||
};
|
||||
};
|
||||
zen = {
|
||||
inheritParentConfig = true;
|
||||
configuration = {
|
||||
boot = {
|
||||
kernelPackages = lib.mkForce pkgs.linuxPackages_zen;
|
||||
plymouth = plymouth "flame";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue