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

@ -33,6 +33,7 @@
flatpak.enable = true;
steam.enable = true;
qemu.enable = true;
lutris.enable = true;
};
boot.plymouth.enable = true;

View file

@ -20,7 +20,6 @@ in
packages = [
# Gaming
{ appId = "com.discordapp.Discord"; origin = "flathub"; }
{ appId = "net.lutris.Lutris"; origin = "flathub"; }
# Pro
{ appId = "ch.protonmail.protonmail-bridge"; origin = "flathub"; }

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 ];
};
}