Autostart steam and webcord on Vanguard

This commit is contained in:
Evie Litherland-Smith 2024-08-29 08:10:50 +01:00
parent 78bad9a802
commit d519351810
2 changed files with 14 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { lib, pkgs, ... }:
{ {
imports = [ imports = [
./personal.nix ./personal.nix
@ -18,5 +18,13 @@
bluedevilglobalrc.Global.launchState.value = "enable"; bluedevilglobalrc.Global.launchState.value = "enable";
}; };
}; };
xdg.configFile."autostart/org.kde.ktorrent.desktop".source = "${pkgs.kdePackages.ktorrent}/share/applications/org.kde.ktorrent.desktop"; 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" =
let
source = "/run/current-system/sw/share/applications/steam.desktop";
in
lib.mkIf (builtins.pathExists source) { inherit source; };
};
} }

View file

@ -1,9 +1,9 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = [
prismlauncher pkgs.prismlauncher
cartridges pkgs.cartridges
(lutris.override { (pkgs.lutris.override {
steamSupport = false; steamSupport = false;
extraPkgs = pkgs: with pkgs; [ wineWowPackages.waylandFull ]; extraPkgs = pkgs: with pkgs; [ wineWowPackages.waylandFull ];
}) })