games now controlled via settings
This commit is contained in:
parent
a566322eee
commit
aced2f565a
|
@ -1,6 +1,10 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
settings = import ./../settings.nix;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./steam.nix
|
||||
./prismlauncher.nix
|
||||
];
|
||||
# Optionally import modules for game launchers, games or compatability layers
|
||||
imports =
|
||||
lib.optionals settings.games.prismlauncher [ ./prismlauncher.nix ]
|
||||
++ lib.optionals settings.games.steam [ ./steam.nix ];
|
||||
}
|
||||
|
|
|
@ -20,4 +20,9 @@
|
|||
networking = {
|
||||
wireguard = true; # enable wireguard protocol
|
||||
};
|
||||
|
||||
games = {
|
||||
prismlauncher = true;
|
||||
steam = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue