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

View File

@@ -50,6 +50,9 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat
# install apps from flathub
flatpak install netease-cloud-music-gtk
# install 3d printer slicer - cura
flatpak install flathub com.ultimaker.cura
# or you can search apps from flathub
flatpak search <keyword>
# search on website is also supported: https://flathub.org/

8
flake.lock generated
View File

@@ -475,16 +475,16 @@
},
"nixpkgs-stable_2": {
"locked": {
"lastModified": 1684398685,
"narHash": "sha256-TRE62m91iZ5ArVMgA+uj22Yda8JoQuuhc9uwZ+NoX+0=",
"lastModified": 1684782344,
"narHash": "sha256-SHN8hPYYSX0thDrMLMWPWYulK3YFgASOrCsIL3AJ78g=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "628d4bb6e9f4f0c30cfd9b23d3c1cdcec9d3cb5c",
"rev": "8966c43feba2c701ed624302b6a935f97bcbdf88",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-22.11",
"ref": "nixos-23.05",
"repo": "nixpkgs",
"type": "github"
}

View File

@@ -35,12 +35,12 @@
# flake inputs 有很多种引用方式,应用最广泛的是 github 的引用方式
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
# used to install some packages not in nixpkgs
# 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";
# follows 是 inputs 中的继承语法

View File

@@ -111,6 +111,7 @@
iperf3
nmap
socat
ldns # replacement of dig, it provide the command `drill`
# system tools
sysstat