From 3bbaab61847dfddba7c6c5ae1197e4a914886f90 Mon Sep 17 00:00:00 2001 From: Marcel Date: Mon, 15 Sep 2025 18:59:20 +0200 Subject: [PATCH] ifstate: 2.0.0 -> 2.0.1 --- nixos/modules/services/networking/ifstate.nix | 8 ++------ pkgs/by-name/if/ifstate/package.nix | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/nixos/modules/services/networking/ifstate.nix b/nixos/modules/services/networking/ifstate.nix index 167155a2de0f..ddd95d33d131 100644 --- a/nixos/modules/services/networking/ifstate.nix +++ b/nixos/modules/services/networking/ifstate.nix @@ -137,12 +137,8 @@ in cleanupSettings = lib.mkOption { inherit (settingsFormat) type; - default = { - # required by json schema - interfaces = { }; - # https://codeberg.org/liske/ifstate/issues/118 - namespaces = { }; - }; + # required by json schema + default.interfaces = { }; description = "Content of IfState's initrd cleanup configuration file. See for details. This configuration gets applied before systemd switches to stage two. The goas is to deconfigurate the whole network in order to prevent access to services, before the firewall is configured. The stage two IfState configuration will start after the firewall is configured."; }; }; diff --git a/pkgs/by-name/if/ifstate/package.nix b/pkgs/by-name/if/ifstate/package.nix index 4d92b86701d4..535082c4d0dc 100644 --- a/pkgs/by-name/if/ifstate/package.nix +++ b/pkgs/by-name/if/ifstate/package.nix @@ -14,7 +14,7 @@ let self = python3Packages.buildPythonApplication rec { pname = "ifstate"; - version = "2.0.0"; + version = "2.0.1"; pyproject = true; src = fetchFromGitea { @@ -22,7 +22,7 @@ let owner = "liske"; repo = "ifstate"; tag = version; - hash = "sha256-YxLyiTVLN4nxc2ppqGGnYCGudbdPLSLV8EwDURtpO0U="; + hash = "sha256-QxjziDlkbTxAVd3qA8u4+JT8NWJxBMVAp7G5Zma9d10="; }; postPatch = ''