System/home-manager/linux/programs/games.nix

14 lines
339 B
Nix
Raw Permalink Normal View History

2022-11-02 01:53:51 -04:00
{ config, lib, pkgs, inputs, ... }:
2022-10-13 00:03:16 -04:00
with lib; {
config = mkMerge [
2022-11-02 01:53:51 -04:00
# Scripts for launching games
2022-10-13 00:03:16 -04:00
(mkIf config.nathan.programs.games.launcher {
2022-11-02 01:53:51 -04:00
# Install our scripts
home.packages = let scripts = inputs.scripts.packages.${pkgs.system};
2022-11-02 02:46:52 -04:00
in with pkgs; [ scripts.swaywm-toggler scripts.game-time ];
2022-10-13 00:03:16 -04:00
})
];
}