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:
parent
29824a8cf6
commit
5b50eb18fc
1 changed files with 16 additions and 16 deletions
|
@ -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"
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue