Bring back steam autostart using osConfig

This commit is contained in:
Evie Litherland-Smith 2024-08-30 11:03:00 +01:00
parent 00f3bed407
commit 88a4291f65

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, osConfig, ... }:
{
imports = [
./personal.nix
@ -23,5 +23,6 @@
xdg.configFile = {
"autostart/org.kde.ktorrent.desktop".source = "${pkgs.kdePackages.ktorrent}/share/applications/org.kde.ktorrent.desktop";
"autostart/webcord.desktop".source = "${pkgs.webcord}/share/applications/webcord.desktop";
"autostart/steam.desktop".source = "${osConfig.programs.steam.package}/share/applications/steam.desktop";
};
}