Workaround for systemd tray target support

This commit is contained in:
Fabian Hauser 2022-01-31 13:36:45 +01:00
parent f0b961ef46
commit bb0792881b
2 changed files with 6 additions and 1 deletions

View file

@ -6,5 +6,4 @@
useUserPackages = true;
useGlobalPkgs = true;
};
}

View file

@ -2,4 +2,10 @@
imports =
[ ./multimedia.nix ./security.nix ./applications ./work ./mimetypes.nix ];
home-manager.users.fhauser.home.stateVersion = config.system.stateVersion;
home-manager.users.fhauser.systemd.user.targets.tray = {
Unit = {
Description = "Home Manager System Tray";
Requires = [ "graphical-session-pre.target" ];
};
};
}