sora: fix networking
This commit is contained in:
parent
3bfc368922
commit
3e9548138b
3 changed files with 8 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
|
../../modules
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
nameservers = [
|
nameservers = [
|
||||||
"8.8.8.8"
|
"8.8.8.8"
|
||||||
];
|
];
|
||||||
|
environment.etc = {
|
||||||
|
"resolv.conf".text = "nameserver 8.8.8.8\n";
|
||||||
|
};
|
||||||
defaultGateway = "172.31.1.1";
|
defaultGateway = "172.31.1.1";
|
||||||
defaultGateway6 = {
|
defaultGateway6 = {
|
||||||
address = "fe80::1";
|
address = "fe80::1";
|
||||||
|
|
4
hosts/sora/services/default.nix
Normal file
4
hosts/sora/services/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue