diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-09-16 02:07:57 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-09-16 02:07:57 +0300 |
commit | d58f6d509cd81c6c21739f3bf0fcec7fa623ee9f (patch) | |
tree | f8742617b495d478cc8c9b2c1f200e143f2c1d28 /modules/nixos/common | |
parent | 2023-08-23 (diff) |
2023-09-16
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/common/networking.nix | 3 | ||||
-rw-r--r-- | modules/nixos/common/services.nix | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/modules/nixos/common/networking.nix b/modules/nixos/common/networking.nix index 8d94a4e..91306be 100644 --- a/modules/nixos/common/networking.nix +++ b/modules/nixos/common/networking.nix @@ -16,7 +16,7 @@ in { optional networkmanager.enable "/etc/NetworkManager/system-connections" ++ optional wireless.iwd.enable "/var/lib/iwd"; - # TODO Support multiple interfaces and IP addresses. + # TODO Switch to systemd-networkd. networking = mkMerge [ { domain = my.domain.shire; @@ -32,6 +32,7 @@ in { }; nameservers = mkDefault dns.const.quad9.default; + resolvconf.enable = true; useDHCP = false; diff --git a/modules/nixos/common/services.nix b/modules/nixos/common/services.nix index c97e86a..12e4bf7 100644 --- a/modules/nixos/common/services.nix +++ b/modules/nixos/common/services.nix @@ -4,9 +4,7 @@ _: { # https://unix.stackexchange.com/questions/710603/should-the-irqbalance-daemon-be-used-on-a-modern-desktop-x86-system irqbalance.enable = true; - # https://github.com/NixOS/nixpkgs/issues/135888 - nscd.enableNsncd = true; - + # This is upposed to be better? dbus.implementation = "broker"; }; } |