mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
nix!: remove modDir flake module
This commit is contained in:
parent
1d7d2217ac
commit
291bd66d24
3 changed files with 17 additions and 26 deletions
|
|
@ -1,13 +1,8 @@
|
|||
{ lib, ... }:
|
||||
|
||||
let
|
||||
modules = lib.pipe (builtins.readDir ./.) [
|
||||
(lib.filterAttrs (moduleName: _: moduleName != "default.nix"))
|
||||
(lib.mapAttrs (moduleName: _: ./${moduleName}))
|
||||
];
|
||||
combinators = ./combinators.nix;
|
||||
in
|
||||
|
||||
{
|
||||
imports = lib.attrValues modules;
|
||||
flake.flakeModules = modules;
|
||||
imports = [ combinators ];
|
||||
flake.flakeModules = { inherit combinators; };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue