fmt
This commit is contained in:
@@ -116,8 +116,12 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = let
|
config = let
|
||||||
host = if cfg.vpn.enable then "192.168.15.1" else "127.0.0.1";
|
host =
|
||||||
in mkIf (nixarr.enable && cfg.enable) {
|
if cfg.vpn.enable
|
||||||
|
then "192.168.15.1"
|
||||||
|
else "127.0.0.1";
|
||||||
|
in
|
||||||
|
mkIf (nixarr.enable && cfg.enable) {
|
||||||
assertions = [
|
assertions = [
|
||||||
{
|
{
|
||||||
assertion = cfg.vpn.enable -> nixarr.vpn.enable;
|
assertion = cfg.vpn.enable -> nixarr.vpn.enable;
|
||||||
|
|||||||
Reference in New Issue
Block a user