Do not install steam or terraform on neelix.
This commit is contained in:
@@ -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 @@
|
||||
})
|
||||
]
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user