cleanup kernel

This commit is contained in:
Adithya 2024-06-21 11:15:57 +05:30
parent 0cf9532b5c
commit f1a579f3ca
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
4 changed files with 2 additions and 47 deletions

View file

@ -9,7 +9,6 @@
./rollback.nix ./rollback.nix
./secureboot.nix ./secureboot.nix
./security.nix ./security.nix
./specialisations.nix
./virtualisation.nix ./virtualisation.nix
]; ];

View file

@ -18,7 +18,7 @@
systemd.enable = true; systemd.enable = true;
}; };
kernelModules = [ "kvm-intel" ]; kernelModules = [ "kvm-intel" ];
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; kernelPackages = lib.mkDefault pkgs.linuxPackages_zen;
kernelParams = [ "quiet" ]; kernelParams = [ "quiet" ];
kernel.sysctl = { kernel.sysctl = {
"vm.swappiness" = 10; "vm.swappiness" = 10;

View file

@ -1,5 +1,5 @@
{ lib, pkgs, ... }: { { lib, pkgs, ... }: {
boot.plymouth = let theme = "dark_planet"; in { boot.plymouth = let theme = "flame"; in {
enable = true; enable = true;
themePackages = lib.mkDefault [ themePackages = lib.mkDefault [
(pkgs.adi1090x-plymouth-themes.override { selected_themes = [ theme ]; }) (pkgs.adi1090x-plymouth-themes.override { selected_themes = [ theme ]; })

View file

@ -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";
};
};
};
};
}