From 37b30cc2ca35160b256e209297b301abe3013168 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sun, 16 Oct 2022 17:01:58 +0000 Subject: [PATCH] Get kernel from unstable nixos --- flake.lock | 12 ++++++------ system/rainbowdash/boot-config.nix | 4 ++-- system/spike/boot-config.nix | 4 ++-- system/starlight/boot-config.nix | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index 1d9e418..f2659ec 100644 --- a/flake.lock +++ b/flake.lock @@ -38,11 +38,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1665613119, - "narHash": "sha256-VTutbv5YKeBGWou6ladtgfx11h6et+Wlkdyh4jPJ3p0=", + "lastModified": 1665856284, + "narHash": "sha256-FQusb2DuFo8UF0jhUSPFhDKc40jRbHcdyyw4anN20WA=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e06bd4b64bbfda91d74f13cb5eca89485d47528f", + "rev": "be44bf672c61a284f759898d1e59077b00655c4c", "type": "github" }, "original": { @@ -54,11 +54,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1665732960, - "narHash": "sha256-WBZ+uSHKFyjvd0w4inbm0cNExYTn8lpYFcHEes8tmec=", + "lastModified": 1665848363, + "narHash": "sha256-3Jow1YxzPtQnck1bAAvbVxgRH4gNnkIdw871Vm6UtAU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4428e23312933a196724da2df7ab78eb5e67a88e", + "rev": "83b198a2083774844962c854f811538323f9f7b1", "type": "github" }, "original": { diff --git a/system/rainbowdash/boot-config.nix b/system/rainbowdash/boot-config.nix index 34b9c3e..edc25ae 100644 --- a/system/rainbowdash/boot-config.nix +++ b/system/rainbowdash/boot-config.nix @@ -1,8 +1,8 @@ -{ config, pkgs, ... }: +{ config, pkgs, pkgs-unstable, ... }: { boot = { - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs-unstable.linuxPackages_latest; kernel.sysctl."vm.swappiness" = 5; cleanTmpDir = true; blacklistedKernelModules = [ "psmouse" ]; diff --git a/system/spike/boot-config.nix b/system/spike/boot-config.nix index 5d78c3b..bf98885 100644 --- a/system/spike/boot-config.nix +++ b/system/spike/boot-config.nix @@ -1,8 +1,8 @@ -{ config, pkgs, ... }: +{ config, pkgs, pkgs-unstable, ... }: { boot = { - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs-unstable.linuxPackages_latest; kernelParams = [ "fbcon=rotate:1" ]; kernel.sysctl."vm.swappiness" = 5; cleanTmpDir = true; diff --git a/system/starlight/boot-config.nix b/system/starlight/boot-config.nix index 4f5a176..4983fd5 100644 --- a/system/starlight/boot-config.nix +++ b/system/starlight/boot-config.nix @@ -1,11 +1,11 @@ -{ config, pkgs, ... }: +{ config, pkgs, pkgs-unstable, ... }: let net_opts = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=60" "x-systemd.device-timeout=5s" "x-systemd.mount-timeout=5s" ]; in { imports = [ ../../externals/systemd-boot-secure ]; boot = { - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs-unstable.linuxPackages_latest; extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; kernel.sysctl."vm.swappiness" = 5; cleanTmpDir = true;