dotfiles/nix/gaming.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

2024-04-28 11:35:35 +02:00
{ pkgs, config, ... }:
{
environment.systemPackages = with pkgs;[
# minecraft
#prismlauncher
2024-04-28 11:35:35 +02:00
heroic
(lutris.override {
extraPkgs = pkgs: [
pkgs.winePackages.base
];
})
2024-04-28 11:35:35 +02:00
];
# for lol
#virtualisation.libvirtd.enable = true;
#users.extraUsers.grape.extraGroups = [ "libvirtd" ];
#boot.extraModprobeConfig = ''
# options kvm_intel nested=1
# options kvm_intel emulate_invalid_guest_state=0
# options kvm ignore_msrs=1
#'';
2024-04-28 11:35:35 +02:00
# enabling java for mc
#programs.java = { enable = true; package = pkgs.jdk17; };
2024-04-28 11:35:35 +02:00
# steam
# To add another drive:
# 1. open steam steam://open/console in browser
# 2. library_folder_add "/path/to/drive"
2024-04-28 11:35:35 +02:00
programs.steam.enable = true;
2024-08-14 18:40:07 +02:00
# programs.firejail = {
# wrappedBinaries = {
# steam = {
# executable = "${pkgs.steam}/bin/steam";
# profile = "${pkgs.firejail}/etc/firejail/steam.profile";
# desktop = "${pkgs.steam}/share/applications/steam.desktop";
# extraArgs = [
# "--env=GTK_THEME=Adwaita:dark"
# ];
# };
# };
# };
2024-04-28 11:35:35 +02:00
}