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
|
@ -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
Add a link
Reference in a new issue