From 89653cabe44a67e8f50fdd017a193efc2b62f1f3 Mon Sep 17 00:00:00 2001 From: ryan4yin Date: Wed, 24 May 2023 23:18:12 +0800 Subject: [PATCH] feat: bump nixpkgs's stable version to nixos-23.05, add some useful packages --- README.md | 3 +++ flake.lock | 8 ++++---- flake.nix | 4 ++-- modules/system.nix | 1 + 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2736014a..d05b4fb1 100644 --- a/README.md +++ b/README.md @@ -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 # search on website is also supported: https://flathub.org/ diff --git a/flake.lock b/flake.lock index f03eff89..3d399ad0 100644 --- a/flake.lock +++ b/flake.lock @@ -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" } diff --git a/flake.nix b/flake.nix index 17adce5b..7ae198aa 100644 --- a/flake.nix +++ b/flake.nix @@ -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 中的继承语法 diff --git a/modules/system.nix b/modules/system.nix index 3766472c..b502342f 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -111,6 +111,7 @@ iperf3 nmap socat + ldns # replacement of dig, it provide the command `drill` # system tools sysstat