bahaghari: allow non-flakes usage

This commit is contained in:
Gabriel Arazas 2024-02-24 10:36:28 +08:00
parent 6000026719
commit 469e5194cc
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 19 additions and 15 deletions

View File

@ -0,0 +1,18 @@
# This is just kept for future compatiblity in case we require pkgs or something.
{ }:
{
nixosModules = {
"bahaghari/tinted-theming" = ./modules/tinted-theming;
};
homeModules = {
"bahaghari/tinted-theming" = ./modules/tinted-theming;
};
nixvimModules = {
"bahaghari/tinted-theming" = ./modules/tinted-theming;
};
bahaghariLib = ./lib;
}

View File

@ -11,19 +11,5 @@
in inputs.flake-utils.lib.eachSystem systems (system: {
devShells.default =
import ./shell.nix { pkgs = import nixpkgs { inherit system; }; };
}) // {
nixosModules = {
"bahaghari/tinted-theming" = ./modules/tinted-theming;
};
homeModules = {
"bahaghari/tinted-theming" = ./modules/tinted-theming;
};
nixvimModules = {
"bahaghari/tinted-theming" = ./modules/tinted-theming;
};
bahaghariLib = ./lib;
};
}) // import ./default.nix { };
}