Add all of iogamaster modules

This commit is contained in:
2024-06-15 09:59:52 +02:00
parent c97f22254a
commit fa99b32cad
120 changed files with 3587 additions and 254 deletions

View File

@@ -0,0 +1,38 @@
{
options,
config,
pkgs,
lib,
...
}:
with lib;
with lib.frajul; let
cfg = config.apps.lutris;
in {
options.apps.lutris = with types; {
enable = mkBoolOpt false "Enable or disable lutris";
};
config = mkIf cfg.enable {
environment.systemPackages = [
pkgs.lutris
pkgs.fuse
];
home.persist.directories = [
".local/share/lutris"
".cache/lutris"
"Games"
];
# Appimages for certain games
boot.binfmt.registrations.appimage = {
wrapInterpreterInShell = false;
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";
offset = 0;
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
magicOrExtension = ''\x7fELF....AI\x02'';
};
};
}