summaryrefslogtreecommitdiff
path: root/hosts/dishwasher/configuration.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2022-12-16 20:32:36 +0100
committerGrigory Shipunov2022-12-16 20:33:05 +0100
commit368bceaab3225ede239ad188e6b17b04411712b6 (patch)
treeaf1d3da35e23d795b4db69fc0b9287da26d8e33e /hosts/dishwasher/configuration.nix
parent9cc55c5d0fe1f2321892fbebd64abd1d3f1967d7 (diff)
update dishwasher
Diffstat (limited to 'hosts/dishwasher/configuration.nix')
-rw-r--r--hosts/dishwasher/configuration.nix26
1 files changed, 17 insertions, 9 deletions
diff --git a/hosts/dishwasher/configuration.nix b/hosts/dishwasher/configuration.nix
index 0556748..5b4a138 100644
--- a/hosts/dishwasher/configuration.nix
+++ b/hosts/dishwasher/configuration.nix
@@ -21,6 +21,7 @@
hostName = "dishwasher"; # Define your hostname.
useNetworkd = true;
firewall.enable = true;
+ wireless.iwd.enable = true;
};
time.timeZone = "Europe/Amsterdam";
@@ -35,15 +36,22 @@
Name = "enp1s0";
};
networkConfig = {
- DHCP = "yes";
- LinkLocalAddressing = "ipv6";
- IPv6AcceptRA = "yes";
- };
- dhcpV6Config = {
- WithoutRA = "solicit";
+ # DHCP = "yes";
+ # LinkLocalAddressing = "ipv6";
+ # IPv6AcceptRA = "yes";
+ Address = "10.1.1.50/24";
};
- ipv6AcceptRAConfig = {
- DHCPv6Client = "yes";
+ # dhcpV6Config = {
+ # WithoutRA = "solicit";
+ # };
+ # ipv6AcceptRAConfig = {
+ # DHCPv6Client = "yes";
+ # };
+ };
+ networks."aer" = {
+ matchConfig.name = "wlan0";
+ networkConfig = {
+ DHCP = "yes";
};
};
};
@@ -59,7 +67,7 @@
i18n = {
defaultLocale = "en_US.UTF-8";
- supportedLocales = [ "en_US.UTF-8" "nl_NL.UTF-8" "ru_RU.UTF-8" ];
+ supportedLocales = [ "all" ];
};
# List services that you want to enable: