commit 381d5e5087ce22a1bc4d8f404a00b0bd002d7587
parent f4c0983418f87e7cadbd34e5bbdb84280e328dbe
Author: Toni Brown <tb148@proton.me>
Date: Sat, 13 Sep 2025 18:50:10 +0800
update nixpkgs
Diffstat:
3 files changed, 31 insertions(+), 10 deletions(-)
diff --git a/configuration.nix b/configuration.nix
@@ -6,6 +6,7 @@
config,
lib,
pkgs,
+ inputs,
...
}:
@@ -140,6 +141,7 @@
services.searx = {
enable = true;
+ package = inputs.nixpkgs-master.legacyPackages.x86_64-linux.searxng;
environmentFile = "/home/tb148/.searxng.env";
};
diff --git a/flake.lock b/flake.lock
@@ -7,11 +7,11 @@
]
},
"locked": {
- "lastModified": 1756293646,
- "narHash": "sha256-VgJtXf3j4/4nJJAk7Ol2un7U6+7tN54sj4nWP+wpYSo=",
+ "lastModified": 1757320803,
+ "narHash": "sha256-7PUIQOMQSJLkNtV42SAYUDw0mRdbBNl6q8pLN8GViwM=",
"owner": "catppuccin",
"repo": "nix",
- "rev": "f2e3c4c73d4fbd5e2c24ae44075ded300fe7b52b",
+ "rev": "d75e3fe67f49728cb5035bc791f4b9065ff3a2c9",
"type": "github"
},
"original": {
@@ -27,11 +27,11 @@
]
},
"locked": {
- "lastModified": 1756261190,
- "narHash": "sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k=",
+ "lastModified": 1757698511,
+ "narHash": "sha256-UqHHGydF/q3jfYXCpvYLA0TWtvByOp1NwOKCUjhYmPs=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "77f348da3176dc68b20a73dab94852a417daf361",
+ "rev": "a3fcc92180c7462082cd849498369591dfb20855",
"type": "github"
},
"original": {
@@ -58,10 +58,10 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1756125398,
- "narHash": "sha256-XexyKZpf46cMiO5Vbj+dWSAXOnr285GHsMch8FBoHbc=",
+ "lastModified": 1757487488,
+ "narHash": "sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/+G0lKfv4kk/5Izdg=",
"ref": "nixos-unstable",
- "rev": "3b9f00d7a7bf68acd4c4abb9d43695afb04e03a5",
+ "rev": "ab0f3607a6c7486ea22229b92ed2d355f1482ee0",
"shallow": true,
"type": "git",
"url": "https://mirrors.tuna.tsinghua.edu.cn/git/nixpkgs.git"
@@ -73,12 +73,30 @@
"url": "https://mirrors.tuna.tsinghua.edu.cn/git/nixpkgs.git"
}
},
+ "nixpkgs-master": {
+ "locked": {
+ "lastModified": 1757751908,
+ "narHash": "sha256-VWyETrO8AsBaGEsqafaUc105eY0X2/slYnkC5x74W2I=",
+ "ref": "master",
+ "rev": "026fdbbf82a6f70e6ad8b5f865a763757d5c2dae",
+ "shallow": true,
+ "type": "git",
+ "url": "https://mirrors.tuna.tsinghua.edu.cn/git/nixpkgs.git"
+ },
+ "original": {
+ "ref": "master",
+ "shallow": true,
+ "type": "git",
+ "url": "https://mirrors.tuna.tsinghua.edu.cn/git/nixpkgs.git"
+ }
+ },
"root": {
"inputs": {
"catppuccin": "catppuccin",
"home-manager": "home-manager",
"midnight": "midnight",
- "nixpkgs": "nixpkgs"
+ "nixpkgs": "nixpkgs",
+ "nixpkgs-master": "nixpkgs-master"
}
}
},
diff --git a/flake.nix b/flake.nix
@@ -4,6 +4,7 @@
inputs = {
# NixOS 官方软件源,这里使用 nixos-unstable 分支
nixpkgs.url = "git+https://mirrors.tuna.tsinghua.edu.cn/git/nixpkgs.git?ref=nixos-unstable&shallow=1";
+ nixpkgs-master.url = "git+https://mirrors.tuna.tsinghua.edu.cn/git/nixpkgs.git?ref=master&shallow=1";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
catppuccin.url = "github:catppuccin/nix";