mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
bahaghari: init flake and devshell
Even if that devshell is not really usable.
This commit is contained in:
parent
fdc8476751
commit
afbd5cd074
29
subprojects/bahaghari/flake.nix
Normal file
29
subprojects/bahaghari/flake.nix
Normal 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;
|
||||
};
|
||||
}
|
7
subprojects/bahaghari/shell.nix
Normal file
7
subprojects/bahaghari/shell.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
mkShell {
|
||||
inputsFrom = [ nix ];
|
||||
}
|
Loading…
Reference in New Issue
Block a user