os/modules/graphical/network-manager-applet.service.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
426 B
Nix
Raw Normal View History

2021-05-30 19:10:28 +00:00
pkgs: {
Unit = {
2024-01-06 09:46:10 +00:00
Description = "Network Manager applet";
2021-05-30 19:10:28 +00:00
BindsTo = ["sway-session.target"];
After = ["sway-session.target"];
# ConditionEnvironment requires systemd v247 to work correctly
ConditionEnvironment = ["WAYLAND_DISPLAY"];
};
Service = {
ExecStart = "${pkgs.networkmanagerapplet}/bin/nm-applet --sm-disable --indicator";
};
Install = {
WantedBy = ["sway-session.target"];
};
}