1
0
Fork 0
puter/profiles/gaming/default.nix
2025-05-18 01:08:10 +02:00

16 lines
324 B
Nix

{ config, lib, ... }:
let
cfg = config.profiles.gaming;
in
{
options.profiles.gaming = {
enable = lib.mkEnableOption "gaming";
};
config.assertions = lib.mkIf cfg.enable [
{
assertion = config.profiles.desktop.enable;
message = "The gaming profile depends on the desktop profile.";
}
];
}