1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

feat: use linux zen for desktop

This commit is contained in:
RGBCube 2025-05-02 04:01:41 +03:00
parent 1f4a166258
commit a76927f600
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,8 @@
{ pkgs, ... }: {
boot.kernelPackages = pkgs.linuxPackages_latest;
{ config, pkgs, ... }: {
boot.kernelPackages = if config.isServer then
pkgs.linuxPackages_latest
else
pkgs.linuxKernel.packages.linux_zen;
# Credits:
# - https://github.com/NotAShelf/nyx/blob/main/modules/core/common/system/security/kernel.nix