mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Remove unnecissary conditions
This commit is contained in:
parent
ff77b68230
commit
25e2ebad91
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ in {
|
||||||
xsession.enable = osConfig.services.xserver.enable;
|
xsession.enable = osConfig.services.xserver.enable;
|
||||||
|
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
syncthingtray = lib.mkIf cfg.tray.syncthing.enable {
|
syncthingtray = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Syncthingtray";
|
Description = "Syncthingtray";
|
||||||
Requires = ["tray.target"];
|
Requires = ["tray.target"];
|
||||||
|
|
@ -59,7 +59,7 @@ in {
|
||||||
xsession.enable = osConfig.services.xserver.enable;
|
xsession.enable = osConfig.services.xserver.enable;
|
||||||
|
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
nm-applet = lib.mkIf cfg.tray.networkmanager.enable {
|
nm-applet = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Networkmanager-applet";
|
Description = "Networkmanager-applet";
|
||||||
Requires = ["tray.target"];
|
Requires = ["tray.target"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue