Fix: imports
This commit is contained in:
parent
36d368063a
commit
e3c3d5ee8b
7 changed files with 23 additions and 18 deletions
|
|
@ -5,7 +5,9 @@
|
|||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
globals = import ../../config/globals.nix ;
|
||||
in {
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
|
|
@ -55,16 +57,16 @@
|
|||
useDHCP = false;
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.0.3";
|
||||
address = globals.network.terre-neuvas.ip;
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
};
|
||||
defaultGateway = {
|
||||
interface = "br0";
|
||||
address = "192.168.0.254";
|
||||
address = globals.network.gateway;
|
||||
};
|
||||
nameservers = ["192.168.0.254" "1.1.1.1"];
|
||||
nameservers = [ globals.network.gateway "1.1.1.1"];
|
||||
bridges.br0.interfaces = ["eno1"];
|
||||
};
|
||||
systemd.network = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue