refactor: modularize audio-prod, audio, wsl, wine, networking

This commit is contained in:
Youwen Wu 2024-12-22 22:26:41 -08:00
parent 5cbd9e60cb
commit ee6f29eb57
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
9 changed files with 200 additions and 73 deletions

30
modules/default.nix Normal file
View 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.
'';
};
};
}