pin specific linux kernel to test bug
This commit is contained in:
parent
c5824eef35
commit
583c039a26
2 changed files with 19 additions and 5 deletions
|
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
nix.settings.system-features = [
|
nix.settings.system-features = [
|
||||||
"benchmark"
|
"benchmark"
|
||||||
"big-parallel"
|
"big-parallel"
|
||||||
|
|
@ -58,7 +62,17 @@
|
||||||
KERNEL=="hidraw*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a3c5", MODE="0666"
|
KERNEL=="hidraw*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a3c5", MODE="0666"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# boot.kernelPackages = pkgs.linuxPackages_latest;
|
# boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_8.override {
|
||||||
|
# argsOverride = rec {
|
||||||
|
# src = pkgs.fetchurl {
|
||||||
|
# url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
|
||||||
|
# sha256 = "sha256-HEzcudVg+tH7ldssuK++3JIvnq2Eg3H+QDY7E/n2Mbo=";
|
||||||
|
# };
|
||||||
|
# version = "6.8.8";
|
||||||
|
# modDirVersion = "6.8.8";
|
||||||
|
# };
|
||||||
|
# });
|
||||||
|
# boot.kernelPackages = pkgs.linuxPackages_6_8;
|
||||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
||||||
boot.kernelModules = ["i2c-dev" "kvm-amd"];
|
boot.kernelModules = ["i2c-dev" "kvm-amd"];
|
||||||
|
|
|
||||||
|
|
@ -30,20 +30,20 @@ def bump [] {
|
||||||
jj new -m "bump"
|
jj new -m "bump"
|
||||||
nix flake update
|
nix flake update
|
||||||
# rc2nix | save -f /home/tao/projects/NOflake/users/tao/plasma.nix;
|
# rc2nix | save -f /home/tao/projects/NOflake/users/tao/plasma.nix;
|
||||||
sudo nix store ping --store ssh://nocomputer
|
# sudo nix store ping --store ssh://nocomputer
|
||||||
sudo nice -n19 nixos-rebuild boot --flake /home/tao/projects/NOflake/ --impure --verbose
|
sudo nice -n19 nixos-rebuild boot --flake /home/tao/projects/NOflake/ --impure --verbose
|
||||||
jj new
|
jj new
|
||||||
}
|
}
|
||||||
|
|
||||||
def rb [] {
|
def rb [] {
|
||||||
sudo nix store ping --store ssh://nocomputer
|
# sudo nix store ping --store ssh://nocomputer
|
||||||
sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose
|
sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose
|
||||||
hx --grammar fetch; hx --grammar build
|
hx --grammar fetch; hx --grammar build
|
||||||
rm -rf ~/.cache/jdtls/
|
rm -rf ~/.cache/jdtls/
|
||||||
}
|
}
|
||||||
|
|
||||||
def rs [] {
|
def rs [] {
|
||||||
sudo nix store ping --store ssh://nocomputer
|
# sudo nix store ping --store ssh://nocomputer
|
||||||
sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose
|
sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose
|
||||||
hx --grammar fetch; hx --grammar build
|
hx --grammar fetch; hx --grammar build
|
||||||
rm -rf ~/.cache/jdtls/
|
rm -rf ~/.cache/jdtls/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue