mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-27 10:36:12 +01:00
17 lines
318 B
Nix
17 lines
318 B
Nix
|
{ pkgs, lib, secret, ... }:
|
||
|
let
|
||
|
in
|
||
|
{
|
||
|
networking = {
|
||
|
hostName = "gooseberry";
|
||
|
useDHCP = false;
|
||
|
interfaces.eth0.useDHCP = true;
|
||
|
firewall.enable = true;
|
||
|
};
|
||
|
|
||
|
services.udev.extraRules = ''
|
||
|
ATTR{address}=="b8:27:eb:ef:f4:c3", NAME="eth0"
|
||
|
ATTR{address}=="c8:4d:44:21:27:17", NAME="eth1"
|
||
|
'';
|
||
|
}
|