mirror of
https://github.com/Novattz/creamlinux-installer.git
synced 2025-12-06 03:55:37 -05:00
23 lines
403 B
Nix
23 lines
403 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
creamlinux = pkgs.callPackage (./package.nix) {};
|
|
in {
|
|
options.cfg.gaming = {
|
|
creamlinux.enable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
description = "Enables creamlinux-installer.";
|
|
};
|
|
};
|
|
|
|
config = {
|
|
home.packages = with pkgs; [
|
|
(lib.mkIf config.cfg.gaming.creamlinux.enable creamlinux)
|
|
];
|
|
};
|
|
}
|