Skip to content

Commit

Permalink
WIP ez-configs
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jan 15, 2025
1 parent 05c43e1 commit bc08fcf
Show file tree
Hide file tree
Showing 5 changed files with 152 additions and 80 deletions.
7 changes: 0 additions & 7 deletions flake-modules/checks.nix

This file was deleted.

21 changes: 21 additions & 0 deletions flake-modules/configs.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ inputs, ... }:
{

imports = [
inputs.ez-configs.flakeModule
];

ezConfigs = {
root = ../.;

darwin = {
configurationsDirectory = ../configurations/darwin;
modulesDirectory = ../modules/darwin;
};

nixos = {
configurationsDirectory = ../configurations/nixos;
modulesDirectory = ../modules/nixos;
};
};
}
2 changes: 1 addition & 1 deletion flake-modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}:
{
imports = [
./checks.nix
./configs.nix
./devshell.nix
./git-hooks.nix
./lib.nix
Expand Down
Loading

0 comments on commit bc08fcf

Please sign in to comment.