mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 01:57:44 +00:00
feat: use linux zen for desktop
This commit is contained in:
parent
1f4a166258
commit
a76927f600
2 changed files with 7 additions and 4 deletions
|
@ -3,17 +3,17 @@
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
extra-substituters = [
|
extra-substituters = [
|
||||||
|
"https://cache.rgbcu.be/"
|
||||||
"https://cache.garnix.io/"
|
"https://cache.garnix.io/"
|
||||||
"https://cache.privatevoid.net"
|
"https://cache.privatevoid.net"
|
||||||
"https://cache.rgbcu.be/"
|
|
||||||
"https://hyprland.cachix.org/"
|
"https://hyprland.cachix.org/"
|
||||||
"https://nix-community.cachix.org/"
|
"https://nix-community.cachix.org/"
|
||||||
];
|
];
|
||||||
|
|
||||||
extra-trusted-public-keys = [
|
extra-trusted-public-keys = [
|
||||||
|
"cache.rgbcu.be:nBN/5Qg5E8GIYwaoslm9DYo2zeqlBiCVNCPf17djr+w="
|
||||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||||
"cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg="
|
"cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg="
|
||||||
"cache.rgbcu.be:nBN/5Qg5E8GIYwaoslm9DYo2zeqlBiCVNCPf17djr+w="
|
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
{ pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = if config.isServer then
|
||||||
|
pkgs.linuxPackages_latest
|
||||||
|
else
|
||||||
|
pkgs.linuxKernel.packages.linux_zen;
|
||||||
|
|
||||||
# Credits:
|
# Credits:
|
||||||
# - https://github.com/NotAShelf/nyx/blob/main/modules/core/common/system/security/kernel.nix
|
# - https://github.com/NotAShelf/nyx/blob/main/modules/core/common/system/security/kernel.nix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue