wanda: new host (NixOS-WSL)
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
d3588098ee
commit
e3e1612691
66 changed files with 914 additions and 0 deletions
10
wanda/networking/dhcp.nix
Normal file
10
wanda/networking/dhcp.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{lib, ...}: {
|
||||
networking = {
|
||||
useDHCP = lib.mkDefault true;
|
||||
dhcpcd = {
|
||||
enable = true;
|
||||
persistent = false;
|
||||
wait = "any";
|
||||
};
|
||||
};
|
||||
}
|
||||
8
wanda/networking/firewall.nix
Normal file
8
wanda/networking/firewall.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
_: {
|
||||
networking = {
|
||||
firewall = {
|
||||
allowPing = true;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
5
wanda/networking/hostId.nix
Normal file
5
wanda/networking/hostId.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
networking = {
|
||||
hostId = "5c79d468";
|
||||
};
|
||||
}
|
||||
5
wanda/networking/hostname.nix
Normal file
5
wanda/networking/hostname.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
networking = {
|
||||
hostName = "wanda";
|
||||
};
|
||||
}
|
||||
7
wanda/networking/hosts.nix
Normal file
7
wanda/networking/hosts.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
_: {
|
||||
networking = {
|
||||
hosts = {
|
||||
# nope.
|
||||
};
|
||||
};
|
||||
}
|
||||
29
wanda/networking/nameservers.nix
Normal file
29
wanda/networking/nameservers.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
_: {
|
||||
networking = {
|
||||
nameservers = [
|
||||
# cf dns
|
||||
"1.1.1.1"
|
||||
"1.0.0.1"
|
||||
"2606:4700:4700::1111"
|
||||
"2606:4700:4700::1001"
|
||||
|
||||
# google dns
|
||||
"8.8.8.8"
|
||||
"8.8.4.4"
|
||||
"2001:4860:4860::8888"
|
||||
"2001:4860:4860::8844"
|
||||
|
||||
# q9 dns
|
||||
"9.9.9.9"
|
||||
"149.112.112.112"
|
||||
"2620:fe::fe"
|
||||
"2620:fe::9"
|
||||
|
||||
# open dns
|
||||
"208.67.222.222"
|
||||
"208.67.220.220"
|
||||
"2620:119:35::35"
|
||||
"2620:119:53::53"
|
||||
];
|
||||
};
|
||||
}
|
||||
9
wanda/networking/networkmanager.nix
Normal file
9
wanda/networking/networkmanager.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
_: {
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = false;
|
||||
};
|
||||
|
||||
useNetworkd = true;
|
||||
};
|
||||
}
|
||||
10
wanda/networking/timeServers.nix
Normal file
10
wanda/networking/timeServers.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
_: {
|
||||
networking = {
|
||||
timeServers = [
|
||||
"0.nixos.pool.ntp.org"
|
||||
"1.nixos.pool.ntp.org"
|
||||
"2.nixos.pool.ntp.org"
|
||||
"3.nixos.pool.ntp.org"
|
||||
];
|
||||
};
|
||||
}
|
||||
7
wanda/networking/wireguard.nix
Normal file
7
wanda/networking/wireguard.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
_: {
|
||||
networking = {
|
||||
wireguard = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue