dedicated-settings-file #3
|
@ -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