diff --git a/README.md b/README.md index bdb03246..bc48e8b8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Stargazers - + diff --git a/flake.lock b/flake.lock index 13dcfc7f..d3a99668 100644 --- a/flake.lock +++ b/flake.lock @@ -1118,7 +1118,7 @@ }, "original": { "owner": "nixos", - "ref": "nixpkgs-24.05-darwin", + "ref": "nixpkgs-24.11-darwin", "repo": "nixpkgs", "type": "github" } @@ -1222,7 +1222,7 @@ }, "original": { "owner": "nixos", - "ref": "nixos-24.05", + "ref": "nixos-24.11", "repo": "nixpkgs", "type": "github" } @@ -1238,7 +1238,7 @@ }, "original": { "owner": "NixOS", - "ref": "nixos-24.05", + "ref": "nixos-24.11", "repo": "nixpkgs", "type": "github" } @@ -1254,7 +1254,7 @@ }, "original": { "owner": "NixOS", - "ref": "nixos-24.05", + "ref": "nixos-24.11", "repo": "nixpkgs", "type": "github" } @@ -1332,7 +1332,7 @@ }, "original": { "owner": "NixOS", - "ref": "release-24.05", + "ref": "release-24.11", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index eae26ee8..54df51fd 100644 --- a/flake.nix +++ b/flake.nix @@ -36,10 +36,10 @@ # Official NixOS package source, using nixos's unstable branch by default nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable-small"; - nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05"; + nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11"; # for macos - nixpkgs-darwin.url = "github:nixos/nixpkgs/nixpkgs-24.05-darwin"; + nixpkgs-darwin.url = "github:nixos/nixpkgs/nixpkgs-24.11-darwin"; nix-darwin = { url = "github:lnl7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs-darwin"; @@ -49,7 +49,7 @@ # home-manager, used for managing user configuration home-manager = { url = "github:nix-community/home-manager/master"; - # url = "github:nix-community/home-manager/release-24.05"; + # url = "github:nix-community/home-manager/release-24.11"; # The `follows` keyword in inputs is used for inheritance. # Here, `inputs.nixpkgs` of home-manager is kept consistent with the `inputs.nixpkgs` of the current flake, diff --git a/home/base/gui/terminal/README.md b/home/base/gui/terminal/README.md index d38aa998..c32ab2fb 100644 --- a/home/base/gui/terminal/README.md +++ b/home/base/gui/terminal/README.md @@ -52,7 +52,7 @@ Error opening terminal: xterm-kitty. NixOS preserve the `TERMINFO` and `TERMINFO_DIRS` environment variables, for `root` and the `wheel` group: -[nixpkgs/nixos/modules/config/terminfo.nix](https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/config/terminfo.nix#L18) +[nixpkgs/nixos/modules/config/terminfo.nix](https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/config/terminfo.nix#L18) For nix-darwin, take a look at diff --git a/home/base/home.nix b/home/base/home.nix index 1375d4b6..e5c25259 100644 --- a/home/base/home.nix +++ b/home/base/home.nix @@ -12,7 +12,7 @@ # You can update Home Manager without changing this value. See # the Home Manager release notes for a list of state version # changes in each release. - stateVersion = "24.05"; + stateVersion = "24.11"; }; # Let Home Manager install and manage itself. diff --git a/hosts/12kingdoms-shoukei/brcm-firmware/flake.lock b/hosts/12kingdoms-shoukei/brcm-firmware/flake.lock index 19a480ab..280bbc6e 100644 --- a/hosts/12kingdoms-shoukei/brcm-firmware/flake.lock +++ b/hosts/12kingdoms-shoukei/brcm-firmware/flake.lock @@ -11,7 +11,7 @@ }, "original": { "owner": "nixos", - "ref": "nixos-24.05", + "ref": "nixos-24.11", "repo": "nixpkgs", "type": "github" } diff --git a/hosts/12kingdoms-shoukei/brcm-firmware/flake.nix b/hosts/12kingdoms-shoukei/brcm-firmware/flake.nix index d397aa27..96e08acf 100644 --- a/hosts/12kingdoms-shoukei/brcm-firmware/flake.nix +++ b/hosts/12kingdoms-shoukei/brcm-firmware/flake.nix @@ -1,6 +1,6 @@ { # a flake for testing - inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; + inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; outputs = {nixpkgs, ...}: let system = "x86_64-linux"; pkgs = import nixpkgs {inherit system;}; diff --git a/hosts/12kingdoms-shoukei/default.nix b/hosts/12kingdoms-shoukei/default.nix index 76f6787f..d3909dab 100644 --- a/hosts/12kingdoms-shoukei/default.nix +++ b/hosts/12kingdoms-shoukei/default.nix @@ -38,5 +38,5 @@ in { # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.05"; # Did you read the comment? + system.stateVersion = "24.11"; # Did you read the comment? } diff --git a/hosts/idols-ai/default.nix b/hosts/idols-ai/default.nix index ddfe9ef9..a7f77545 100644 --- a/hosts/idols-ai/default.nix +++ b/hosts/idols-ai/default.nix @@ -35,5 +35,5 @@ in { # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.05"; # Did you read the comment? + system.stateVersion = "24.11"; # Did you read the comment? } diff --git a/hosts/idols-aquamarine/default.nix b/hosts/idols-aquamarine/default.nix index 0f68826c..3dbd860d 100644 --- a/hosts/idols-aquamarine/default.nix +++ b/hosts/idols-aquamarine/default.nix @@ -54,5 +54,5 @@ in { # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.05"; # Did you read the comment? + system.stateVersion = "24.11"; # Did you read the comment? } diff --git a/hosts/idols-aquamarine/gitea.nix b/hosts/idols-aquamarine/gitea.nix index bf35e9c0..16e7a02a 100644 --- a/hosts/idols-aquamarine/gitea.nix +++ b/hosts/idols-aquamarine/gitea.nix @@ -1,5 +1,5 @@ {pkgs, ...}: { - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/misc/gitea.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/services/misc/gitea.nix services.gitea = { enable = true; user = "gitea"; diff --git a/hosts/idols-aquamarine/minio.nix b/hosts/idols-aquamarine/minio.nix index a1e23afe..4b345145 100644 --- a/hosts/idols-aquamarine/minio.nix +++ b/hosts/idols-aquamarine/minio.nix @@ -2,7 +2,7 @@ dataDir = ["/data/apps/minio/data"]; configDir = "/data/apps/minio/config"; in { - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/web-servers/minio.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/services/web-servers/minio.nix services.minio = { enable = true; browser = true; # Enable or disable access to web UI. diff --git a/hosts/idols-aquamarine/oci-containers/homepage/default.nix b/hosts/idols-aquamarine/oci-containers/homepage/default.nix index caddfb10..6aaae60b 100644 --- a/hosts/idols-aquamarine/oci-containers/homepage/default.nix +++ b/hosts/idols-aquamarine/oci-containers/homepage/default.nix @@ -20,7 +20,7 @@ in { chown -R ${user}:${user} ${configDir} ''; - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/virtualisation/oci-containers.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/virtualisation/oci-containers.nix virtualisation.oci-containers.containers = { # check its logs via `journalctl -u podman-homepage` homepage = { diff --git a/hosts/idols-aquamarine/oci-containers/uptime-kuma/default.nix b/hosts/idols-aquamarine/oci-containers/uptime-kuma/default.nix index d7acdead..eea7d8a6 100644 --- a/hosts/idols-aquamarine/oci-containers/uptime-kuma/default.nix +++ b/hosts/idols-aquamarine/oci-containers/uptime-kuma/default.nix @@ -15,7 +15,7 @@ in { "d ${dataDir} 0755 ${user} ${user}" ]; - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/virtualisation/oci-containers.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/virtualisation/oci-containers.nix virtualisation.oci-containers.containers = { # check its logs via `journalctl -u podman-homepage` uptime-kuma = { diff --git a/hosts/idols-aquamarine/proxy.nix b/hosts/idols-aquamarine/proxy.nix index e3f32b5a..197ed9f1 100644 --- a/hosts/idols-aquamarine/proxy.nix +++ b/hosts/idols-aquamarine/proxy.nix @@ -78,7 +78,7 @@ }; }; - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/monitoring/prometheus/exporters/v2ray.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/services/monitoring/prometheus/exporters/v2ray.nix # https://github.com/wi1dcard/v2ray-exporter services.prometheus.exporters.v2ray = { enable = true; diff --git a/hosts/idols-aquamarine/restic.nix b/hosts/idols-aquamarine/restic.nix index abf8bb4c..9f6a0186 100644 --- a/hosts/idols-aquamarine/restic.nix +++ b/hosts/idols-aquamarine/restic.nix @@ -3,7 +3,7 @@ sshKeyPath = "/etc/agenix/ssh-key-for-restic-backup"; rcloneConfigFile = "/etc/agenix/rclone-conf-for-restic-backup"; in { - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/backup/restic.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/services/backup/restic.nix services.restic.backups = { homelab-backup = { inherit passwordFile; diff --git a/hosts/idols-aquamarine/transmission.nix b/hosts/idols-aquamarine/transmission.nix index 20832e6d..9830c387 100644 --- a/hosts/idols-aquamarine/transmission.nix +++ b/hosts/idols-aquamarine/transmission.nix @@ -7,7 +7,7 @@ name = "transmission"; in { # the headless Transmission BitTorrent daemon - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/torrent/transmission.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/services/torrent/transmission.nix # https://wiki.archlinux.org/title/transmission services.transmission = { enable = true; diff --git a/hosts/idols-kana/default.nix b/hosts/idols-kana/default.nix index aecd875e..8baad1cb 100644 --- a/hosts/idols-kana/default.nix +++ b/hosts/idols-kana/default.nix @@ -41,5 +41,5 @@ in { # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.05"; # Did you read the comment? + system.stateVersion = "24.11"; # Did you read the comment? } diff --git a/hosts/idols-ruby/default.nix b/hosts/idols-ruby/default.nix index 456ef97d..62d7cc8a 100644 --- a/hosts/idols-ruby/default.nix +++ b/hosts/idols-ruby/default.nix @@ -43,5 +43,5 @@ in { # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.05"; # Did you read the comment? + system.stateVersion = "24.11"; # Did you read the comment? } diff --git a/lib/genKubeVirtGuestModule.nix b/lib/genKubeVirtGuestModule.nix index 4b126392..144a5e5c 100644 --- a/lib/genKubeVirtGuestModule.nix +++ b/lib/genKubeVirtGuestModule.nix @@ -40,5 +40,5 @@ in { # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.05"; # Did you read the comment? + system.stateVersion = "24.11"; # Did you read the comment? } diff --git a/lib/genKubeVirtHostModule.nix b/lib/genKubeVirtHostModule.nix index 58c16037..a0e2901a 100644 --- a/lib/genKubeVirtHostModule.nix +++ b/lib/genKubeVirtHostModule.nix @@ -99,5 +99,5 @@ in { # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "24.05"; # Did you read the comment? + system.stateVersion = "24.11"; # Did you read the comment? } diff --git a/modules/darwin/system.nix b/modules/darwin/system.nix index 60665be5..a448af42 100644 --- a/modules/darwin/system.nix +++ b/modules/darwin/system.nix @@ -202,7 +202,7 @@ source-han-serif # 思源宋体 # nerdfonts - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/data/fonts/nerdfonts/shas.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/data/fonts/nerdfonts/shas.nix (nerdfonts.override { fonts = [ # symbols icon only diff --git a/modules/nixos/base/monitoring.nix b/modules/nixos/base/monitoring.nix index 591d3ede..20ab582e 100644 --- a/modules/nixos/base/monitoring.nix +++ b/modules/nixos/base/monitoring.nix @@ -1,6 +1,6 @@ { # enable the node exporter on all nixos hosts - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/monitoring/prometheus/exporters/node.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/services/monitoring/prometheus/exporters/node.nix services.prometheus.exporters.node = { enable = true; listenAddress = "0.0.0.0"; diff --git a/modules/nixos/base/ssh.nix b/modules/nixos/base/ssh.nix index 2dd09970..e30bdb7e 100644 --- a/modules/nixos/base/ssh.nix +++ b/modules/nixos/base/ssh.nix @@ -23,6 +23,6 @@ }; # Add terminfo database of all known terminals to the system profile. - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/config/terminfo.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/config/terminfo.nix environment.enableAllTerminfo = true; } diff --git a/modules/nixos/desktop/fhs.nix b/modules/nixos/desktop/fhs.nix index 019e6909..7757a3a0 100644 --- a/modules/nixos/desktop/fhs.nix +++ b/modules/nixos/desktop/fhs.nix @@ -32,7 +32,7 @@ # nix-ld's nixos module will set default values for `NIX_LD` and `NIX_LD_LIBRARY_PATH` environment variables, so # it can work out of the box: # - # - https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/programs/nix-ld.nix#L37-L40 + # - https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/programs/nix-ld.nix#L37-L40 # # You can overwrite `NIX_LD_LIBRARY_PATH` in the environment where you run the non-NixOS binaries to customize the # search path for shared libraries. diff --git a/modules/nixos/desktop/fonts.nix b/modules/nixos/desktop/fonts.nix index 4bbb4090..e3c671d3 100644 --- a/modules/nixos/desktop/fonts.nix +++ b/modules/nixos/desktop/fonts.nix @@ -25,7 +25,7 @@ source-han-serif # 思源宋体 # nerdfonts - # https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/data/fonts/nerdfonts/shas.nix + # https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/data/fonts/nerdfonts/shas.nix (nerdfonts.override { fonts = [ # symbols icon only diff --git a/modules/nixos/desktop/remote-desktop/tailscale.nix b/modules/nixos/desktop/remote-desktop/tailscale.nix index 020dfb91..b0618434 100644 --- a/modules/nixos/desktop/remote-desktop/tailscale.nix +++ b/modules/nixos/desktop/remote-desktop/tailscale.nix @@ -25,7 +25,7 @@ # which is already persistent across reboots(via impermanence.nix) # # References: -# https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/networking/tailscale.nix +# https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/services/networking/tailscale.nix # # ============================================================= { diff --git a/nixos-installer/configuration.nix b/nixos-installer/configuration.nix index 22212b01..e6925bab 100644 --- a/nixos-installer/configuration.nix +++ b/nixos-installer/configuration.nix @@ -18,5 +18,5 @@ networkmanager.enable = true; defaultGateway = "192.168.5.101"; }; - system.stateVersion = "24.05"; + system.stateVersion = "24.11"; } diff --git a/nixos-installer/flake.lock b/nixos-installer/flake.lock index bc112ee9..cfbfbd5d 100644 --- a/nixos-installer/flake.lock +++ b/nixos-installer/flake.lock @@ -40,7 +40,7 @@ }, "original": { "owner": "nixos", - "ref": "nixos-24.05", + "ref": "nixos-24.11", "repo": "nixpkgs", "type": "github" } diff --git a/nixos-installer/flake.nix b/nixos-installer/flake.nix index 68bd38e6..4f864c4a 100644 --- a/nixos-installer/flake.nix +++ b/nixos-installer/flake.nix @@ -2,7 +2,7 @@ description = "NixOS configuration of Ryan Yin"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; impermanence.url = "github:nix-community/impermanence"; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nuenv.url = "github:DeterminateSystems/nuenv";