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" ];