Describe the bug
https://www.freedesktop.org/software/systemd/man/systemd.network.html#ActivationPolicy=
The ActivationPolicy option is missing from the possible options for systemd.network.networks.<name>.linkConfig.
|
network = { |
|
|
|
sectionLink = checkUnitConfig "Link" [ |
|
(assertOnlyFields [ |
|
"MACAddress" |
|
"MTUBytes" |
|
"ARP" |
|
"Multicast" |
|
"AllMulticast" |
|
"Unmanaged" |
|
"RequiredForOnline" |
|
]) |
|
(assertMacAddress "MACAddress") |
|
(assertByteFormat "MTUBytes") |
|
(assertValueOneOf "ARP" boolValues) |
|
(assertValueOneOf "Multicast" boolValues) |
|
(assertValueOneOf "AllMulticast" boolValues) |
|
(assertValueOneOf "Unmanaged" boolValues) |
|
(assertValueOneOf "RequiredForOnline" (boolValues ++ [ |
|
"missing" |
|
"off" |
|
"no-carrier" |
|
"dormant" |
|
"degraded-carrier" |
|
"carrier" |
|
"degraded" |
|
"enslaved" |
|
"routable" |
|
])) |
|
]; |
Steps To Reproduce
N/A
Expected behavior
Being able to use linkConfig.ActivationPolicy = "manual" on a wireguard network.
Screenshots
N/A
Additional context
N/A
Notify maintainers
@flokli @rnhmjoj
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
Irrelevant
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
- systemd.network.networks
Describe the bug
https://www.freedesktop.org/software/systemd/man/systemd.network.html#ActivationPolicy=
The
ActivationPolicyoption is missing from the possible options forsystemd.network.networks.<name>.linkConfig.nixpkgs/nixos/modules/system/boot/networkd.nix
Lines 376 to 405 in 2a205b0
Steps To Reproduce
N/A
Expected behavior
Being able to use
linkConfig.ActivationPolicy = "manual"on a wireguard network.Screenshots
N/A
Additional context
N/A
Notify maintainers
@flokli @rnhmjoj
Metadata
Maintainer information: