module(system.apps.lutris): Move lutris from flatpak to system to benefit of system graphics driver
All checks were successful
check / check (push) Successful in 4m33s

This commit is contained in:
Florian RICHER 2025-03-22 20:24:27 +01:00
parent ccb578cace
commit c38e438ae2
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
4 changed files with 19 additions and 1 deletions

View file

@ -3,6 +3,7 @@
{
imports = [
./flatpak.nix
./lutris.nix
./qemu.nix
./steam.nix
];

View file

@ -0,0 +1,17 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.system.apps.lutris;
in
{
options.modules.system.apps.lutris = {
enable = mkEnableOption ''
Enable lutris
'';
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ lutris ];
};
}