feat: bundle external nixosModules with liminalOS module

This commit is contained in:
Youwen Wu 2024-12-25 23:11:43 -08:00
parent d66cce9fa1
commit e9c6c54ee1
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
11 changed files with 49 additions and 45 deletions

View file

@ -1,7 +1,6 @@
{
config,
lib,
inputs,
pkgs,
osConfig,
...
@ -11,7 +10,6 @@ let
in
{
imports = [
inputs.nix-index-database.hmModules.nix-index
./fastfetch
];

View file

@ -1,19 +1,11 @@
{
inputs,
pkgs,
spicepkgs,
config,
osConfig,
lib,
...
}:
let
spicepkgs = inputs.spicetify.legacyPackages.${pkgs.system};
in
{
imports = [
inputs.spicetify.homeManagerModules.default
];
config = lib.mkIf (config.liminalOS.programs.enable && osConfig.liminalOS.config.allowUnfree) {
programs.spicetify = {
enable = true;