summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw/network-manager.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/hw/network-manager.nix')
-rw-r--r--makefu/2configs/hw/network-manager.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/makefu/2configs/hw/network-manager.nix b/makefu/2configs/hw/network-manager.nix
index f44d4afd4..050787df8 100644
--- a/makefu/2configs/hw/network-manager.nix
+++ b/makefu/2configs/hw/network-manager.nix
@@ -28,7 +28,7 @@
scanRandMacAddress = true;
backend = "iwd";
};
- services.gnome3.gnome-keyring.enable = true;
+ services.gnome.gnome-keyring.enable = true;
networking.wireless.iwd.enable = true;
state = [
@@ -37,4 +37,11 @@
networking.networkmanager.dispatcherScripts = [
{ source = "${pkgs.prison-break}/bin/prison-break"; }
];
+
+ # TODO: not sure if this actually works
+ systemd.services.NetworkManager-dispatcher.environment = {
+ DISPLAY= ":0";
+ DBUS_SESSION_BUS_ADDRESS = "unix:path=/run/user/9001/bus";
+ };
+
}