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
+1 -1
View File
@@ -30,5 +30,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 = "23.11"; # Did you read the comment?
system.stateVersion = "24.05"; # Did you read the comment?
}
@@ -63,5 +63,5 @@
socket = "control.socket";
};
system.stateVersion = "23.11";
system.stateVersion = "24.05";
}
@@ -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
#
# =============================================================
{
@@ -66,5 +66,5 @@
socket = "control.socket";
};
system.stateVersion = "23.11";
system.stateVersion = "24.05";
}
@@ -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";