mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-18 05:02:10 -08:00
31 lines
541 B
Nix
31 lines
541 B
Nix
|
{
|
||
|
pkgs,
|
||
|
lib,
|
||
|
config,
|
||
|
...
|
||
|
}:
|
||
|
let
|
||
|
cfg = config.liminalOS;
|
||
|
in
|
||
|
{
|
||
|
imports = [
|
||
|
./linux
|
||
|
];
|
||
|
options.liminalOS = {
|
||
|
linux.enable = lib.mkOption {
|
||
|
type = lib.types.bool;
|
||
|
default = false;
|
||
|
description = ''
|
||
|
Whether to enable liminalOS's default modules and options for Linux.
|
||
|
'';
|
||
|
};
|
||
|
darwin.enable = lib.mkOption {
|
||
|
type = lib.types.bool;
|
||
|
default = false;
|
||
|
description = ''
|
||
|
Whether to enable liminalOS's default modules and options for Darwin.
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|