mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
update
This commit is contained in:
1 parent
c7eb72c432
commit
5848a669ca
3 files changed
+56
-38
No files matched your search
+4
-36
@@ -1,9 +1,7 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ inputs.oceanix.nixosModules.default ]; #
|
||||
|
||||
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v2; #
|
||||
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v2;
|
||||
|
||||
boot.kernelParams = [
|
||||
"preempt=full"
|
||||
@@ -12,49 +10,19 @@
|
||||
"mitigations=off"
|
||||
"usbcore.autosuspend=-1"
|
||||
"transparent_hugepage=always"
|
||||
]; #
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
timeout = 5;
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot";
|
||||
}; #
|
||||
};
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
configurationLimit = 15;
|
||||
consoleMode = "max";
|
||||
editor = false;
|
||||
}; #
|
||||
};
|
||||
oceanix = {
|
||||
enable = true;
|
||||
|
||||
entries = {
|
||||
"NixOS (systemd-boot)" = {
|
||||
path = "/EFI/systemd/systemd-bootx64.efi";
|
||||
};
|
||||
"NixOS (Limine)" = {
|
||||
path = "/EFI/limine/BOOTX64.EFI";
|
||||
};
|
||||
};
|
||||
uefi = {
|
||||
output = {
|
||||
provideConsoleGop = true;
|
||||
directGopRendering = true;
|
||||
resolution = "1366x768";
|
||||
ignoreTextInGraphics = true;
|
||||
};
|
||||
|
||||
quirks = {
|
||||
releaseUsbOwnership = true;
|
||||
requestBootVarRouting = true;
|
||||
};
|
||||
};
|
||||
|
||||
misc.boot = {
|
||||
showPicker = true;
|
||||
timeout = 5;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user