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 = ''