commit ea3dba7cfaf70848760f3a0286d11559e5a317b3
parent aafdb6c921654e42915566f733dfd3c8bb2fac76
Author: Toni Brown <me@tb148.net>
Date: Sun, 21 Dec 2025 01:32:52 +0800
Remove custom NVIDIA patch and update flake inputs
Diffstat:
2 files changed, 21 insertions(+), 30 deletions(-)
diff --git a/configuration.nix b/configuration.nix
@@ -38,21 +38,7 @@
hardware.graphics.enable = true;
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia.open = true;
- hardware.nvidia.package =
- config.boot.kernelPackages.nvidiaPackages.stable
- // {
- open = config.boot.kernelPackages.nvidiaPackages.stable.open.overrideAttrs (old: {
- patches =
- (old.patches or [])
- ++ [
- (pkgs.fetchpatch {
- name = "get_dev_pagemap.patch";
- url = "https://github.com/NVIDIA/open-gpu-kernel-modules/commit/3e230516034d29e84ca023fe95e284af5cd5a065.patch";
- hash = "sha256-BhL4mtuY5W+eLofwhHVnZnVf0msDj7XBxskZi8e6/k8=";
- })
- ];
- });
- };
+ hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
hardware.nvidia.powerManagement.enable = true;
hardware.nvidia.powerManagement.finegrained = true;
hardware.nvidia.prime = {
@@ -107,6 +93,11 @@
webui = pkgs.metacubexd;
configFile = "/home/tb148/mihomo.yaml";
};
+ # programs.clash-verge = {
+ # enable = true;
+ # tunMode = true;
+ # serviceMode = true;
+ # };
nix.settings.substituters = ["https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"];
nix.extraOptions = ''
diff --git a/flake.lock b/flake.lock
@@ -7,11 +7,11 @@
]
},
"locked": {
- "lastModified": 1764325801,
- "narHash": "sha256-LQ7tsrXs1wuB6KBwUctL3JlUsG/FWI2pCI6NkoO52dk=",
+ "lastModified": 1765990358,
+ "narHash": "sha256-l8x0gU8mnYaGMl+gWrsSHKBJlZWD8KXJfHTkRlFiPI0=",
"owner": "catppuccin",
"repo": "nix",
- "rev": "a696fed6b9b6aa89ef495842cdca3fc2a7cef0de",
+ "rev": "de1b60ca45a578f59f7d84c8d338b346017b2161",
"type": "github"
},
"original": {
@@ -27,11 +27,11 @@
]
},
"locked": {
- "lastModified": 1764839789,
- "narHash": "sha256-QCgaXEj8036JlfyVM2e5fgKIxoF7IgGRcAi8LkehKvo=",
+ "lastModified": 1766171975,
+ "narHash": "sha256-47Ee0bTidhF/3/sHuYnWRuxcCrrm0mBNDxBkOTd3wWQ=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "d441981b200305ebb8e2e2921395f51d207fded6",
+ "rev": "bb35f07cc95a73aacbaf1f7f46bb8a3f40f265b5",
"type": "github"
},
"original": {
@@ -42,10 +42,10 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1764667669,
- "narHash": "sha256-7WUCZfmqLAssbDqwg9cUDAXrSoXN79eEEq17qhTNM/Y=",
+ "lastModified": 1766070988,
+ "narHash": "sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc=",
"ref": "nixos-unstable",
- "rev": "418468ac9527e799809c900eda37cbff999199b6",
+ "rev": "c6245e83d836d0433170a16eb185cefe0572f8b8",
"shallow": true,
"type": "git",
"url": "https://mirrors.tuna.tsinghua.edu.cn/git/nixpkgs.git"
@@ -59,10 +59,10 @@
},
"nixpkgs-stable": {
"locked": {
- "lastModified": 1764677808,
- "narHash": "sha256-H3lC7knbXOBrHI9hITQ7modLuX20mYJVhZORL5ioms0=",
+ "lastModified": 1765838191,
+ "narHash": "sha256-m5KWt1nOm76ILk/JSCxBM4MfK3rYY7Wq9/TZIIeGnT8=",
"ref": "nixos-25.11",
- "rev": "1aab89277eb2d87823d5b69bae631a2496cff57a",
+ "rev": "c6f52ebd45e5925c188d1a20119978aa4ffd5ef6",
"shallow": true,
"type": "git",
"url": "https://mirrors.tuna.tsinghua.edu.cn/git/nixpkgs.git"
@@ -76,10 +76,10 @@
},
"nixpkgs-staging": {
"locked": {
- "lastModified": 1764942812,
- "narHash": "sha256-8XN2U6Ode+LjGldWiah9TK6OwiUq1b19DLg5xYBvk5k=",
+ "lastModified": 1766226744,
+ "narHash": "sha256-/sRuSPvYGHrPu1d55YUHRpn+GRtK7i9vIebV84Le1UQ=",
"ref": "staging",
- "rev": "292a381da192ef43d302d219daba549c7ac06fa6",
+ "rev": "131ec92bb06e9b4a2e0b528e2cba75e25687a62b",
"shallow": true,
"type": "git",
"url": "https://mirrors.tuna.tsinghua.edu.cn/git/nixpkgs.git"