Merged Host/Home Opt into SysOpt
All checks were successful
Nix Build / build-nixos (push) Successful in 5m27s
All checks were successful
Nix Build / build-nixos (push) Successful in 5m27s
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{ config, ... }: {
|
||||
networking = {
|
||||
hostName = config.hostcfg.hostname;
|
||||
hostName = config.syscfg.hostname;
|
||||
useDHCP = true;
|
||||
nameservers = [ "1.1.1.1" "9.9.9.9" ];
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, config, ... }:
|
||||
let cfg = config.hostcfg.net.wlp;
|
||||
let cfg = config.syscfg.net.wlp;
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
networking.supplicant = {
|
||||
|
@ -3,8 +3,9 @@
|
||||
enable = true;
|
||||
interfaces = {
|
||||
wg0 = {
|
||||
ips = [ config.hostcfg.net.wg.ip4 config.hostcfg.net.wg.ip6 ];
|
||||
privateKeyFile = config.hostcfg.net.wg.pk;
|
||||
ips = [ config.syscfg.net.wg.ip4 config.syscfg.net.wg.ip6 ];
|
||||
privateKeyFile =
|
||||
config.sops.secrets."${config.syscfg.hostname}_wg_priv".path;
|
||||
listenPort = 1515;
|
||||
mtu = 1340;
|
||||
peers = [{
|
||||
|
Reference in New Issue
Block a user