Do not install steam or terraform on neelix.

This commit is contained in:
Tom Alexander
2025-01-23 21:32:10 -05:00
parent 7c6afef2bb
commit 226610c926
3 changed files with 46 additions and 28 deletions

View File

@@ -8,16 +8,18 @@
{
imports = [ ];
options.me.games = lib.mkOption {
type = lib.types.bool;
default = config.me.graphical;
example = true;
description = "Whether we want to install games.";
options.me = {
steam.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install steam.";
};
};
config = (
config = lib.mkIf config.me.steam.enable (
lib.mkMerge [
(lib.mkIf config.me.games {
(lib.mkIf config.me.graphical {
allowedUnfree = [
"steam"
"steam-original"
@@ -45,5 +47,4 @@
})
]
);
}