mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
feat: bundle external nixosModules with liminalOS module
This commit is contained in:
parent
d66cce9fa1
commit
e9c6c54ee1
11 changed files with 49 additions and 45 deletions
|
@ -183,8 +183,8 @@ in
|
|||
|
||||
programs.fish.enable = true;
|
||||
|
||||
services.tlp.enable = lib.mkIf (cfg.formFactor == "laptop") true;
|
||||
programs.light.enable = lib.mkIf (cfg.formFactor == "laptop") true;
|
||||
services.tlp.enable = lib.mkIf (config.liminalOS.formFactor == "laptop") true;
|
||||
programs.light.enable = lib.mkIf (config.liminalOS.formFactor == "laptop") true;
|
||||
|
||||
hardware.bluetooth = lib.mkIf cfg.bluetooth.enable {
|
||||
enable = true;
|
||||
|
|
|
@ -12,10 +12,6 @@ let
|
|||
cfg = config.liminalOS.programs.flatpak;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
];
|
||||
|
||||
options.liminalOS.programs.flatpak = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
|
|
|
@ -26,10 +26,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
inputs.stylix.nixosModules.stylix
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
stylix = {
|
||||
enable = true;
|
||||
|
|
|
@ -8,10 +8,6 @@ let
|
|||
cfg = config.liminalOS.wsl;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.nixos-wsl.nixosModules.default
|
||||
];
|
||||
|
||||
options.liminalOS.wsl = {
|
||||
enable = lib.mkEnableOption "WSL";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue