mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 17:53:17 +01:00
8ffb196c0b
The previous commit didn't actually work, and I shouldn't need to change the variables often, so it's much simpler to not have them. In the event that I do need to change something, rg and sd should get the job done well.
22 lines
371 B
Nix
22 lines
371 B
Nix
{
|
|
networking = {
|
|
hostName = "nixos";
|
|
|
|
networkmanager = {
|
|
enable = true;
|
|
wifi.macAddress = "random";
|
|
ethernet.macAddress = "random";
|
|
|
|
unmanaged = [ "interface-name:ve-*" ];
|
|
};
|
|
|
|
useHostResolvConf = true;
|
|
|
|
nat = {
|
|
enable = true;
|
|
internalInterfaces = [ "ve-+" ];
|
|
externalInterface = "wg-mullvad";
|
|
};
|
|
};
|
|
}
|