dev.fron.io rc / f96659d
delta: use iwd Tony Olagbaiye 1 year, 7 months ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
0 { config, lib, pkgs, ... }:
0 { config, lib, pkgs, hosts, ... }:
11
22 {
33 networking.wireless = {
4 enable = true;
4 iwd.enable = true;
55 interfaces = [ "wlp3s0" ];
66 #iwd.enable = true; # pending https://github.com/NixOS/nixpkgs/pull/75800
77 networks = import ../../secrets/wifi.networks.nix;
1616 networking.nameservers = [ "9.9.9.9" ];
1717 networking.interfaces.eno1 = {
1818 useDHCP = true;
19 ipv4.addresses = [{ address = "192.168.0.254"; prefixLength = 24; }];
19 ipv4.addresses = [{ address = hosts.lan.delta-wired; prefixLength = 24; }];
2020 };
2121 networking.interfaces.wlp3s0 = {
2222 useDHCP = true;
23 ipv4.addresses = [{ address = "192.168.0.253"; prefixLength = 24; }];
23 ipv4.addresses = [{ address = hosts.lan.delta-wireless; prefixLength = 24; }];
2424 };
2525
2626 networking.interfaces.enp5s0u1 = {
2727 useDHCP = true;
28 ipv4.addresses = [{ address = "192.168.0.252"; prefixLength = 24; }];
28 ipv4.addresses = [{ address = hosts.lan.delta-eth; prefixLength = 24; }];
2929 }; systemd.services.network-link-enp5s0u1.before = [];
3030 networking.interfaces.enp0s20u3u1u2 = {
3131 useDHCP = true;
Binary diff not shown