test
This commit is contained in:
@@ -93,7 +93,7 @@ in
|
|||||||
type = mkOpt types.str "wifi" "type of the network.(wifi/ethernet)";
|
type = mkOpt types.str "wifi" "type of the network.(wifi/ethernet)";
|
||||||
|
|
||||||
interface =
|
interface =
|
||||||
mkOpt types.str "wlan0"
|
mkOpt types.str ""
|
||||||
"Interface for this profile (defaults to global ipv4.interface).";
|
"Interface for this profile (defaults to global ipv4.interface).";
|
||||||
|
|
||||||
autoconnect = mkBoolOpt true "autoconnect to this connection";
|
autoconnect = mkBoolOpt true "autoconnect to this connection";
|
||||||
|
|||||||
@@ -110,10 +110,9 @@ in
|
|||||||
# All local Unix socket connections use peer auth (with identMap for mismatched names)
|
# All local Unix socket connections use peer auth (with identMap for mismatched names)
|
||||||
local all all peer map=system
|
local all all peer map=system
|
||||||
|
|
||||||
# homeassistant runs on nuc-nixos (10.0.1.4), not on this machine.
|
# homeassistant runs on any host in the LAN.
|
||||||
# trust is acceptable here: access is locked to a single known host IP on the LAN.
|
# trust is acceptable here: access is locked to a single known subnet on the LAN.
|
||||||
# TODO: set a password via ensureClauses and switch to scram-sha-256.
|
host homeassistant homeassistant 10.0.1.0/24 trust
|
||||||
host homeassistant homeassistant 10.0.1.4/32 trust
|
|
||||||
|
|
||||||
# Podman container network — sparkyfitness server connects via host LAN IP
|
# Podman container network — sparkyfitness server connects via host LAN IP
|
||||||
host sparkyfitness sparkyfitness 10.88.0.0/16 scram-sha-256
|
host sparkyfitness sparkyfitness 10.88.0.0/16 scram-sha-256
|
||||||
|
|||||||
Reference in New Issue
Block a user