Use environmentFile for wireless network configuration

This commit is contained in:
Charlotte Van Petegem 2021-10-22 17:20:40 +02:00
parent 52e05029ee
commit 336a353639
No known key found for this signature in database
GPG key ID: 019E764B7184435A
7 changed files with 87 additions and 27 deletions

View file

@ -15,7 +15,14 @@
stateVersion = "20.09";
base = {
bluetooth.enable = true;
network.networkmanager.enable = true;
network.mobile = {
enable = true;
wireless-interface = "wlp2s0";
wired-interfaces = {
"enp0s20f0u1u2" = { macAddress = "10:65:30:df:80:f5"; };
"enp0s31f6" = { macAddress = "10:65:30:df:80:f5"; };
};
};
zfs = {
encrypted = true;
backups = [

View file

@ -12,7 +12,13 @@
stateVersion = "20.09";
base = {
bluetooth.enable = true;
network.networkmanager.enable = true;
network.mobile = {
enable = true;
wireless-interface = "wlp2s0";
wired-interfaces = {
"enp0s31f6" = { macAddress = "10:65:30:df:80:f5"; };
};
};
zfs = {
encrypted = true;
backups = [