wry, many thing
This commit is contained in:
parent
6e62eccfba
commit
848ed62c5d
47 changed files with 1598 additions and 1201 deletions
|
|
@ -4,6 +4,11 @@
|
|||
scope "boot" {
|
||||
|
||||
initrd.availableKernelModules = [
|
||||
"nvidia_drm"
|
||||
"nvidia_modeset"
|
||||
"nvidia_uvm"
|
||||
"nvidia"
|
||||
"video"
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usbcore"
|
||||
|
|
@ -18,7 +23,7 @@ scope "boot" {
|
|||
consoleLogLevel = 0;
|
||||
kernelParams = [
|
||||
"mitigations=off"
|
||||
"preempt=full"
|
||||
"preempt=lazy"
|
||||
"quiet"
|
||||
"loglevel=3"
|
||||
"systemd.show_status=off"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
_: {
|
||||
user.desktops.niri.config = builtins.readFile ./extra-niri.kdl;
|
||||
niri.extraConfig = builtins.readFile ./extra-niri.kdl;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@
|
|||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
nixpkgs.config.cudaSupport = true;
|
||||
|
||||
hardware.display.outputs."DP-2".mode = "2560x1440@120e";
|
||||
|
||||
hardware.nvidia = {
|
||||
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||
modesetting.enable = true;
|
||||
|
|
|
|||
|
|
@ -14,8 +14,4 @@ in
|
|||
accelProfile = "flat";
|
||||
accelSpeed = 0.0;
|
||||
};
|
||||
|
||||
quick.services = {
|
||||
ckb-next.cmd = "${lib.getExe ckb-next} -c -b";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
14
hosts/quiver/kernel.nix
Normal file
14
hosts/quiver/kernel.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.bunker.nixosModules.default
|
||||
];
|
||||
|
||||
bunker.kernel = {
|
||||
enable = true;
|
||||
cpuArch = "MZEN3";
|
||||
version = "6.19";
|
||||
hardened = false;
|
||||
lto = "none";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue