sora: fix networking

This commit is contained in:
notohh 2023-06-23 09:59:09 -04:00
parent 3bfc368922
commit 3e9548138b
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 8 additions and 0 deletions

View file

@ -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; [

View file

@ -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";

View file

@ -0,0 +1,4 @@
{...}: {
imports = [
];
}