convoluted solution looking for a problem
unified modules structure
This commit is contained in:
parent
bf3946e06f
commit
1b7989336e
14 changed files with 61 additions and 44 deletions
16
modules/default.nix
Normal file
16
modules/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
modulesCfg: {lib, ...}: {
|
||||
imports =
|
||||
[
|
||||
./i18n.nix
|
||||
./nixpkgs.nix
|
||||
./server.nix
|
||||
]
|
||||
++ (map (path: (import path modulesCfg)) [
|
||||
./desktop
|
||||
./hardware
|
||||
]);
|
||||
|
||||
config = {
|
||||
my.modulesCfg = modulesCfg;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue