bahaghari: init flake and devshell

Even if that devshell is not really usable.
This commit is contained in:
Gabriel Arazas 2024-02-23 18:14:39 +08:00
parent fdc8476751
commit afbd5cd074
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{
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;
};
}

View File

@ -0,0 +1,7 @@
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShell {
inputsFrom = [ nix ];
}