mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 15:25:37 +00:00
attempts to improve league install
This commit is contained in:
parent
86c86d0215
commit
2b72ffb6cf
@ -4,10 +4,26 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.gaming.leagueoflegends {
|
config = lib.mkIf config.gaming.leagueoflegends {
|
||||||
|
|
||||||
# League of Legends anti-cheat
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
# League of Legends anti-cheat requirement
|
||||||
boot.kernel.sysctl = { "abi.vsyscall32" = 0; };
|
boot.kernel.sysctl = { "abi.vsyscall32" = 0; };
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ openssl dconf ];
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
||||||
|
# Lutris requirement to install the game
|
||||||
|
lutris
|
||||||
|
amdvlk
|
||||||
|
wine
|
||||||
|
|
||||||
|
# Required according to https://lutris.net/games/league-of-legends/
|
||||||
|
openssl
|
||||||
|
gnome.zenity
|
||||||
|
|
||||||
|
# Don't remember if this is required
|
||||||
|
dconf
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
options.gaming.lutris = lib.mkEnableOption "Lutris";
|
options.gaming.lutris = lib.mkEnableOption "Lutris";
|
||||||
|
|
||||||
config = lib.mkIf (config.gaming.lutris || config.gaming.leagueoflegends) {
|
config = lib.mkIf config.gaming.lutris {
|
||||||
environment.systemPackages = with pkgs; [ lutris amdvlk wine ];
|
environment.systemPackages = with pkgs; [ lutris amdvlk wine ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user