Add gamin module in both nixos and home-manager

This commit is contained in:
Yorick Barbanneau 2023-12-26 00:30:05 +01:00
parent 2b7d1ec452
commit f9062e9d15
7 changed files with 71 additions and 11 deletions

View file

@ -1,6 +1,7 @@
{ lib, config, pkgs, ... }:
{
imports = [
./gaming/lutris
./video/kdenlive
./web/qutebrowser/default.nix
];

View file

@ -0,0 +1,29 @@
{ lib, config, pkgs, ... }:
with lib;
let
cfg = config.modules.gaming.lutris;
in
{
options.modules.gaming.lutris = {
enable = mkEnableOption "enable Lutris Gaming preservation platform";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
( lutris.override {
extraLibraries = pkgs: [
wine
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
];
})
];
};
}