add steam wrapper again
This commit is contained in:
parent
437e5aaabc
commit
8887fb7171
1 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib, config, pkgs, ... }: let
|
||||
inherit (lib) mkIf mkMerge;
|
||||
inherit (config) conf;
|
||||
mkXwlWrapper = import ../niri/xwl-wrapper.nix;
|
||||
holo-script = pkgs.writeShellApplication {
|
||||
name = "holo-script";
|
||||
runtimeInputs = [ pkgs.steam pkgs.gamescope ];
|
||||
|
@ -13,6 +14,12 @@
|
|||
desktopName = "Holo";
|
||||
exec = "${holo-script}/bin/holo-script";
|
||||
};
|
||||
steam-wrapped = mkXwlWrapper {
|
||||
lib = lib;
|
||||
pkgs = pkgs;
|
||||
app = "${pkgs.steam}/bin/steam";
|
||||
name = "Steam Wrapped";
|
||||
};
|
||||
in mkIf conf.games.enable (mkMerge [
|
||||
(mkIf conf.impermanence.enable {
|
||||
environment.persistence."/persist".users.${conf.username}= {
|
||||
|
@ -33,6 +40,7 @@ in mkIf conf.games.enable (mkMerge [
|
|||
pkgs.heroic
|
||||
pkgs.itch
|
||||
holo
|
||||
steam-wrapped
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue