fix(nixos): networkd vs. NetworkManager during nixos-rebuild

This commit is contained in:
genofire 2023-01-13 21:51:31 +01:00
parent 0e18524a24
commit 2dc698c8ab
2 changed files with 11 additions and 0 deletions

View File

@ -9,6 +9,16 @@
}; };
networking.networkmanager.wifi.backend = "iwd"; networking.networkmanager.wifi.backend = "iwd";
# systemd.network.networks.loop = {
# matchConfig.Name = "lo";
# linkConfig.RequiredForOnline = false;
# networkConfig.KeepConfiguration = true;
# };
systemd.network.networks.wifi = {
matchConfig.Name = "wlan0";
linkConfig.RequiredForOnline = false;
networkConfig.KeepConfiguration = true;
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnome.networkmanager-openvpn gnome.networkmanager-openvpn

View File

@ -31,6 +31,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
iw iw
# pulseaudio-modules-bt # pulseaudio-modules-bt
## android-tools
]; ];
programs.browserpass.enable = true; programs.browserpass.enable = true;