1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

network-manager-applet: fix indentation

This commit is contained in:
Robert Helgesson 2019-06-09 12:13:11 +02:00
parent 29824a8cf6
commit 5b50eb18fc
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -19,24 +19,24 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
systemd.user.services.network-manager-applet = { systemd.user.services.network-manager-applet = {
Unit = { Unit = {
Description = "Network Manager applet"; Description = "Network Manager applet";
After = [ "graphical-session-pre.target" ]; After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ]; PartOf = [ "graphical-session.target" ];
}; };
Install = { Install = {
WantedBy = [ "graphical-session.target" ]; WantedBy = [ "graphical-session.target" ];
}; };
Service = { Service = {
ExecStart = toString ( ExecStart = toString (
[ [
"${pkgs.networkmanagerapplet}/bin/nm-applet" "${pkgs.networkmanagerapplet}/bin/nm-applet"
"--sm-disable" "--sm-disable"
] ++ optional config.xsession.preferStatusNotifierItems "--indicator" ] ++ optional config.xsession.preferStatusNotifierItems "--indicator"
); );
}; };
}; };
}; };
} }