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 = [
|
# Optionally import modules for game launchers, games or compatability layers
|
||||||
./steam.nix
|
imports =
|
||||||
./prismlauncher.nix
|
lib.optionals settings.games.prismlauncher [ ./prismlauncher.nix ]
|
||||||
];
|
++ lib.optionals settings.games.steam [ ./steam.nix ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,4 +20,9 @@
|
||||||
networking = {
|
networking = {
|
||||||
wireguard = true; # enable wireguard protocol
|
wireguard = true; # enable wireguard protocol
|
||||||
};
|
};
|
||||||
|
|
||||||
|
games = {
|
||||||
|
prismlauncher = true;
|
||||||
|
steam = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue