mirror of
https://github.com/ryan4yin/nixos-and-flakes-book
synced 2024-11-23 12:43:08 +00:00
fix: bump nixos's version to 23.11
This commit is contained in:
parent
311cd74cc5
commit
68699e372d
2 changed files with 4 additions and 4 deletions
|
@ -74,8 +74,8 @@ Note that the copied template cannot be used directly. You need to modify it to
|
||||||
# The most widely used is `github:owner/name/reference`,
|
# The most widely used is `github:owner/name/reference`,
|
||||||
# which represents the GitHub repository URL + branch/commit-id/tag.
|
# which represents the GitHub repository URL + branch/commit-id/tag.
|
||||||
|
|
||||||
# Official NixOS package source, using nixos-unstable branch here
|
# Official NixOS package source, using nixos-23.11 branch here
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||||
# home-manager, used for managing user configuration
|
# home-manager, used for managing user configuration
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-23.11";
|
url = "github:nix-community/home-manager/release-23.11";
|
||||||
|
|
|
@ -70,8 +70,8 @@ cat flake.nix
|
||||||
# github:owner/name/reference
|
# github:owner/name/reference
|
||||||
# 即 github 仓库地址 + branch/commit-id/tag
|
# 即 github 仓库地址 + branch/commit-id/tag
|
||||||
|
|
||||||
# NixOS 官方软件源,这里使用 nixos-unstable 分支
|
# NixOS 官方软件源,这里使用 nixos-23.11 分支
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||||
# home-manager,用于管理用户配置
|
# home-manager,用于管理用户配置
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-23.11";
|
url = "github:nix-community/home-manager/release-23.11";
|
||||||
|
|
Loading…
Reference in a new issue