feat: bump nixpkgs's stable version to nixos-23.05, add some useful packages

This commit is contained in:
ryan4yin
2023-05-24 23:18:12 +08:00
parent 4959da0b7e
commit 89653cabe4
4 changed files with 10 additions and 6 deletions
+3
View File
@@ -50,6 +50,9 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat
# install apps from flathub # install apps from flathub
flatpak install netease-cloud-music-gtk flatpak install netease-cloud-music-gtk
# install 3d printer slicer - cura
flatpak install flathub com.ultimaker.cura
# or you can search apps from flathub # or you can search apps from flathub
flatpak search <keyword> flatpak search <keyword>
# search on website is also supported: https://flathub.org/ # search on website is also supported: https://flathub.org/
Generated
+4 -4
View File
@@ -475,16 +475,16 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1684398685, "lastModified": 1684782344,
"narHash": "sha256-TRE62m91iZ5ArVMgA+uj22Yda8JoQuuhc9uwZ+NoX+0=", "narHash": "sha256-SHN8hPYYSX0thDrMLMWPWYulK3YFgASOrCsIL3AJ78g=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "628d4bb6e9f4f0c30cfd9b23d3c1cdcec9d3cb5c", "rev": "8966c43feba2c701ed624302b6a935f97bcbdf88",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-22.11", "ref": "nixos-23.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
+2 -2
View File
@@ -35,12 +35,12 @@
# flake inputs 有很多种引用方式,应用最广泛的是 github 的引用方式 # flake inputs 有很多种引用方式,应用最广泛的是 github 的引用方式
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # 使用 nixos-unstable 分支 for nix flakes nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # 使用 nixos-unstable 分支 for nix flakes
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-22.11"; # unstable branch may be broken sometimes, use stable branch when necessary nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-23.05"; # unstable branch may be broken sometimes, use stable branch when necessary
# nix users repository # nix users repository
# used to install some packages not in nixpkgs # used to install some packages not in nixpkgs
# e.g. wechat-uos/qqmusic/dingtalk # e.g. wechat-uos/qqmusic/dingtalk
nur.url = github:nix-community/NUR; nur.url = "github:nix-community/NUR";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
# follows 是 inputs 中的继承语法 # follows 是 inputs 中的继承语法
+1
View File
@@ -111,6 +111,7 @@
iperf3 iperf3
nmap nmap
socat socat
ldns # replacement of dig, it provide the command `drill`
# system tools # system tools
sysstat sysstat