chore: hardwire nixos-wsl nameservers 🎨
This commit is contained in:
parent
bae67430d5
commit
0be50f8a2e
1 changed files with 15 additions and 3 deletions
|
|
@ -14,10 +14,21 @@
|
||||||
./fish.nix
|
./fish.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
wsl.enable = true;
|
wsl = {
|
||||||
wsl.defaultUser = "nixos";
|
enable = true;
|
||||||
|
defaultUser = "nixos";
|
||||||
|
# TODO: check that this actually works, if it does, remove this comment and resolv.conf
|
||||||
|
# if not, remove this part and add URLs below to resolv.conf
|
||||||
|
wslConf.network.generateResolvConf = false;
|
||||||
|
};
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ]; # for vscode remote server
|
networking = {
|
||||||
|
useDHCP = true;
|
||||||
|
# nameserver sources: https://dnsmap.io/articles/most-popular-dns-servers
|
||||||
|
nameservers = [ "84.200.69.80" "8.26.56.26" "1.1.1.1" "8.8.8.8" "64.6.65.6" "208.67.222.222" "209.244.0.3" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
# TODO: move to home manager (?)
|
# TODO: move to home manager (?)
|
||||||
|
|
@ -88,4 +99,5 @@
|
||||||
# If you want to use JACK applications, uncomment this
|
# If you want to use JACK applications, uncomment this
|
||||||
#jack.enable = true;
|
#jack.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue