refactor(modules/games): now using the same arch from services
This commit is contained in:
parent
0cd8633d04
commit
14f69827ef
1 changed files with 5 additions and 2 deletions
|
|
@ -1,38 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
lutris = import ./lutris.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
cfg = config.games;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
lutris
|
||||
];
|
||||
|
||||
options.games = {
|
||||
steam = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable steam installation";
|
||||
};
|
||||
bp = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable the autostart of steam in big picture";
|
||||
};
|
||||
};
|
||||
lutris = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable lutris";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue