From 4185a824633b9c74a493530788079655addd648f Mon Sep 17 00:00:00 2001 From: dichgrem Date: Sat, 17 Jan 2026 15:23:04 +0800 Subject: [PATCH] chore:lqx --- flake.lock | 12 ++++++------ flake.nix | 4 ---- hosts/default.nix | 2 -- hosts/dos/env.nix | 5 +---- hosts/example/env.nix | 3 --- modules/services/scx.nix | 2 +- modules/system/bootstrap.nix | 8 ++++---- modules/system/nix.nix | 2 -- 8 files changed, 12 insertions(+), 26 deletions(-) diff --git a/flake.lock b/flake.lock index beb1827..3cc5c6f 100644 --- a/flake.lock +++ b/flake.lock @@ -165,11 +165,11 @@ ] }, "locked": { - "lastModified": 1768598210, - "narHash": "sha256-kkgA32s/f4jaa4UG+2f8C225Qvclxnqs76mf8zvTVPg=", + "lastModified": 1768836546, + "narHash": "sha256-nJZkTamcXXMW+SMYiGFB6lB8l0aJw0xjssfN8xYd/Fs=", "owner": "nix-community", "repo": "home-manager", - "rev": "c47b2cc64a629f8e075de52e4742de688f930dc6", + "rev": "b56c5ad14fcf8b5bc887463552483bf000ca562a", "type": "github" }, "original": { @@ -269,11 +269,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1768603455, - "narHash": "sha256-ih6dYNhX1oSg0emfSAvf3iRcgsJtMmS6RUaoCX8kNoU=", + "lastModified": 1768744881, + "narHash": "sha256-3+h7OxqfrPIB/tRsiZXWE9sCbTm7NQN5Ie428p+S6BA=", "owner": "danth", "repo": "stylix", - "rev": "590e5c68c4d5e8c766420473c0185d75113f653b", + "rev": "06684f00cfbee14da96fd4307b966884de272d3a", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 6c31adc..ccb1f5a 100644 --- a/flake.nix +++ b/flake.nix @@ -9,10 +9,6 @@ lazyvim.url = "github:pfassina/lazyvim-nix"; stylix.inputs.nixpkgs.follows = "nixpkgs"; stylix.url = "github:danth/stylix"; - # chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; - # daeuniverse.url = "github:daeuniverse/flake.nix"; - # disko.inputs.nixpkgs.follows = "nixpkgs"; - # disko.url = "github:nix-community/disko"; }; outputs = inputs: let diff --git a/hosts/default.nix b/hosts/default.nix index f5f8884..ca8f2c8 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -6,8 +6,6 @@ }: { imports = with inputs; [ ./${hostname} - # chaotic.nixosModules.default - # disko.nixosModules.disko stylix.nixosModules.stylix home-manager.nixosModules.home-manager { diff --git a/hosts/dos/env.nix b/hosts/dos/env.nix index dd30f0e..b19dd7b 100644 --- a/hosts/dos/env.nix +++ b/hosts/dos/env.nix @@ -22,7 +22,7 @@ # See: https://search.nixos.org/options?show=boot.kernelPackages # See: https://www.nyx.chaotic.cx/#using-sched-ext-schedulers - KernelPackages = "linuxPackages_zen"; + KernelPackages = "linuxPackages_lqx"; # See: https://mynixos.com/nixpkgs/option/system.stateVersion StateVersion = "26.05"; @@ -59,7 +59,4 @@ # See: https://github.com/qemu/qemu # See: https://github.com/virt-manager/virt-manager QEMU-VM-Use-Case = true; - - # See: https://github.com/dbeaver/dbeaver - Database-Use-Case = true; } diff --git a/hosts/example/env.nix b/hosts/example/env.nix index bc845dd..3ab27f9 100644 --- a/hosts/example/env.nix +++ b/hosts/example/env.nix @@ -56,7 +56,4 @@ # See: https://github.com/qemu/qemu # See: https://github.com/virt-manager/virt-manager QEMU-VM-Use-Case = false; - - # See: https://github.com/dbeaver/dbeaver - Database-Use-Case = true; } diff --git a/modules/services/scx.nix b/modules/services/scx.nix index c420f1c..49ee98f 100644 --- a/modules/services/scx.nix +++ b/modules/services/scx.nix @@ -5,7 +5,7 @@ gvfs.enable = true; scx = { enable = true; - scheduler = "scx_bpfland"; + scheduler = "scx_lavd"; }; }; } diff --git a/modules/system/bootstrap.nix b/modules/system/bootstrap.nix index 975a186..9631555 100644 --- a/modules/system/bootstrap.nix +++ b/modules/system/bootstrap.nix @@ -30,9 +30,9 @@ in "wdat_wdt" ]; consoleLogLevel = 2; # Only errors and warnings are displayed - # extraModulePackages = [ - # config.boot.kernelPackages.v4l2loopback # v4l2loopback is for OBS Virtual Cam Support - # ]; + extraModulePackages = [ + config.boot.kernelPackages.v4l2loopback # v4l2loopback is for OBS Virtual Cam Support + ]; initrd = { compressor = "zstd"; compressorArgs = ["-T0" "-19" "--long"]; @@ -43,7 +43,7 @@ in "kernel.core_pattern" = "|/bin/false"; # Disable automatic core dumps "vm.max_map_count" = 2147483642; # Needed For Some Steam Games }; - # kernelModules = ["v4l2loopback"]; # v4l2loopback is for OBS Virtual Cam Support + kernelModules = ["v4l2loopback"]; # v4l2loopback is for OBS Virtual Cam Support kernelPackages = pkgs.${KernelPackages}; kernelParams = ["audit=0" "console=tty1" "erst_disable" "nmi_watchdog=0" "noatime" "nowatchdog"]; loader = { diff --git a/modules/system/nix.nix b/modules/system/nix.nix index 75a2f04..2691bbc 100644 --- a/modules/system/nix.nix +++ b/modules/system/nix.nix @@ -31,13 +31,11 @@ with lib; { substituters = [ "https://cache.garnix.io" # See https://github.com/daeuniverse/flake.nix "https://cache.nixos.org" # See https://nixos.wiki/wiki/Binary_Cache - # "https://chaotic-nyx.cachix.org" # See https://github.com/chaotic-cx/nyx "https://nix-community.cachix.org" # See https://nix-community.org/cache/ ]; trusted-public-keys = [ "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" - # "chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; warn-dirty = false;