mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 09:47:52 +00:00
[Desktop/Gaming] Assert minimal mode is disabled
This commit is contained in:
parent
66aa613f8d
commit
03f285849e
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ in {
|
|||
config = mkIf cfg.gaming.enable {
|
||||
assertions = [
|
||||
{ assertion = cfg.gaming.enable -> cfg.enable; message = "Gaming features requires desktop to be enabled"; }
|
||||
{ assertion = cfg.gaming.enable -> !generalCfg.minimal; message = "Gaming features are incompatible with minimal mode"; }
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue