Move common nix code one level up.
This commit is contained in:
17
common/global/network.nix
Normal file
17
common/global/network.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
networking = {
|
||||
useDHCP = true;
|
||||
firewall.enable = false;
|
||||
extraHosts = ''
|
||||
192.168.1.71 c1
|
||||
192.168.1.72 c2
|
||||
192.168.1.73 c3
|
||||
'';
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
directories = [
|
||||
"/var/db/dhcpcd"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user