23 lines
473 B
Nix
23 lines
473 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
config = lib.mkIf config.home.gaming.enable {
|
|
home = {
|
|
packages = with pkgs; [
|
|
heroic
|
|
prismlauncher
|
|
steam
|
|
steam-run-free
|
|
];
|
|
persistence."/persist${config.home.homeDirectory}".directories = [
|
|
".config/heroic"
|
|
".local/share/PrismLauncher"
|
|
".local/share/Steam"
|
|
];
|
|
};
|
|
|
|
nixpkgs.allowUnfreePackages = [
|
|
"steam"
|
|
"steam-unwrapped"
|
|
];
|
|
};
|
|
}
|