From 2e5ee1f8683fe076764d970b9fd34db5d17461e5 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Fri, 17 Feb 2023 12:31:30 +0100 Subject: [PATCH] use custom nm-applet have it use --indicator --- home/desktop-river/default.nix | 13 +++++++++++++ home/nixos-common.nix | 2 -- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/home/desktop-river/default.nix b/home/desktop-river/default.nix index 078890a..4337c47 100644 --- a/home/desktop-river/default.nix +++ b/home/desktop-river/default.nix @@ -46,4 +46,17 @@ After = "graphical-session-pre.target"; }; }; + + systemd.user.services.network-manager-applet = { + Unit = { + Description = "nm-applet"; + BindsTo = [ "river-session.target" ]; + }; + Service = { + Type = "simple"; + ExecStart = "${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"; + }; + Install = { WantedBy = [ "river-session.target" ]; }; + }; + } diff --git a/home/nixos-common.nix b/home/nixos-common.nix index f7f459d..dc17baa 100644 --- a/home/nixos-common.nix +++ b/home/nixos-common.nix @@ -243,8 +243,6 @@ startInBackground = true; }; - services.network-manager-applet.enable = true; - dconf.settings = { "org/virt-manager/virt-manager/connections" = { "autoconnect" = [ "qemu:///system" ];