mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-19 21:49:52 -07:00
refactor: modularize audio-prod, audio, wsl, wine, networking
This commit is contained in:
parent
5cbd9e60cb
commit
ee6f29eb57
9 changed files with 200 additions and 73 deletions
30
modules/default.nix
Normal file
30
modules/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
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.
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue