summaryrefslogtreecommitdiffstats
path: root/modules/system/defaults/alf.nix
blob: 0a715df809720d5985350a6441d2345de1cacc5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, ... }:

let
  path = [
    "system"
    "defaults"
    "alf"
  ];
in
{
  imports = [
    (lib.mkRemovedOptionModule (path ++ [ "globalstate" ])
      "Use `networking.applicationFirewall.enable' and `networking.applicationFirewall.blockAllIncoming' instead."
    )
    (lib.mkRemovedOptionModule (
      path ++ [ "allowsignedenabled" ]
    ) "Use `networking.applicationFirewall.allowSigned' instead.")
    (lib.mkRemovedOptionModule (
      path ++ [ "allowdownloadsignedenabled" ]
    ) "Use `networking.applicationFirewall.allowSignedApp' instead.")
    (lib.mkRemovedOptionModule (path ++ [ "loggingenabled" ]) "It's no longer necessary.")
    (lib.mkRemovedOptionModule (
      path ++ [ "stealthenabled" ]
    ) "Use `networking.applicationFirewall.enableStealthMode' instead.")
  ];
}