nixos-config/subprojects/bahaghari/flake.nix
Gabriel Arazas afbd5cd074
bahaghari: init flake and devshell
Even if that devshell is not really usable.
2024-02-23 18:14:39 +08:00

30 lines
817 B
Nix

{
description = "Specialized set of Nix modules for generating and applying themes.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs@{ self, nixpkgs, ... }:
let systems = inputs.flake-utils.lib.defaultSystems;
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;
};
}