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
All checks were successful
check / check (push) Successful in 4m33s
This commit is contained in:
parent
ccb578cace
commit
c38e438ae2
4 changed files with 19 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
|||
flatpak.enable = true;
|
||||
steam.enable = true;
|
||||
qemu.enable = true;
|
||||
lutris.enable = true;
|
||||
};
|
||||
|
||||
boot.plymouth.enable = true;
|
||||
|
|
|
@ -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"; }
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
./flatpak.nix
|
||||
./lutris.nix
|
||||
./qemu.nix
|
||||
./steam.nix
|
||||
];
|
||||
|
|
17
modules/system/apps/lutris.nix
Normal file
17
modules/system/apps/lutris.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue