From a760c0251e9a722f8db78a37784b73126cc719e0 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Wed, 29 Jan 2025 16:49:11 +0100 Subject: [PATCH] Moved steam desktop entries to its own subfolder --- dotfiles | 1 + user-modules/systemwide/steam.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 160000 dotfiles diff --git a/dotfiles b/dotfiles new file mode 160000 index 0000000..9d73b0d --- /dev/null +++ b/dotfiles @@ -0,0 +1 @@ +Subproject commit 9d73b0d728c81aeab28b0af68b390532279f0ab1 diff --git a/user-modules/systemwide/steam.nix b/user-modules/systemwide/steam.nix index a99d7c4..d34460f 100644 --- a/user-modules/systemwide/steam.nix +++ b/user-modules/systemwide/steam.nix @@ -1,6 +1,7 @@ { lib, config, + pkgs, ... }: @@ -17,5 +18,12 @@ in ]; programs.steam.enable = true; + + # Make steam create desktop entries in a subfolder + programs.steam.package = pkgs.steam.override { + extraBwrapArgs = [ + "--bind $HOME/.local/share/applications/Steam $HOME/.local/share/applications" + ]; + }; }; }