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

14 lines
339 B
Nix

{ config, lib, pkgs, inputs, ... }:
with lib; {
config = mkMerge [
# Scripts for launching games
(mkIf config.nathan.programs.games.launcher {
# Install our scripts
home.packages = let scripts = inputs.scripts.packages.${pkgs.system};
in with pkgs; [ scripts.swaywm-toggler scripts.game-time ];
})
];
}