51 lines
1.1 KiB
Nix
Executable file
51 lines
1.1 KiB
Nix
Executable file
{ pkgs, config, ... }:
|
|
{
|
|
|
|
environment.systemPackages = with pkgs;[
|
|
# minecraft
|
|
#prismlauncher
|
|
heroic
|
|
(lutris.override {
|
|
extraPkgs = pkgs: [
|
|
pkgs.winePackages.base
|
|
];
|
|
})
|
|
|
|
|
|
];
|
|
|
|
# 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
|
|
#'';
|
|
|
|
# enabling java for mc
|
|
#programs.java = { enable = true; package = pkgs.jdk17; };
|
|
|
|
# steam
|
|
# To add another drive:
|
|
# 1. open steam steam://open/console in browser
|
|
# 2. library_folder_add "/path/to/drive"
|
|
programs.steam.enable = true;
|
|
|
|
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"
|
|
];
|
|
};
|
|
|
|
};
|
|
};
|
|
}
|