feat: upgrade to 24.05

fix: remove or update some packages
This commit is contained in:
Ryan Yin
2024-05-23 18:47:26 +08:00
parent 82dccbdeca
commit 9adf87aaf5
39 changed files with 151 additions and 230 deletions

View File

@@ -63,5 +63,5 @@
socket = "control.socket";
};
system.stateVersion = "23.11";
system.stateVersion = "24.05";
}

View File

@@ -21,7 +21,7 @@
# which is already persistent across reboots(via impermanence.nix)
#
# References:
# https://github.com/NixOS/nixpkgs/blob/nixos-23.11/nixos/modules/services/networking/tailscale.nix
# https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/networking/tailscale.nix
#
# =============================================================
{

View File

@@ -66,5 +66,5 @@
socket = "control.socket";
};
system.stateVersion = "23.11";
system.stateVersion = "24.05";
}

View File

@@ -37,7 +37,7 @@ in {
nat.enable = false;
firewall.enable = false;
# https://github.com/NixOS/nixpkgs/blob/nixos-23.11/nixos/modules/services/networking/nftables.nix
# https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/networking/nftables.nix
nftables = {
enable = true;
# Check the applied rules with `nft -a list ruleset`.
@@ -164,7 +164,7 @@ in {
};
# monitoring with prometheus
# https://github.com/NixOS/nixpkgs/blob/nixos-23.11/nixos/modules/services/monitoring/prometheus/exporters/dnsmasq.nix
# https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/monitoring/prometheus/exporters/dnsmasq.nix
services.prometheus.exporters.dnsmasq = {
enable = true;
listenAddress = "0.0.0.0";