chore: initialized project
This commit is contained in:
commit
d79fe97b7e
24 changed files with 786 additions and 0 deletions
13
modules/flake-module.nix
Normal file
13
modules/flake-module.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
flake.nixosModules =
|
||||
let
|
||||
allModules = import ./top-level.nix;
|
||||
in
|
||||
lib.listToAttrs (
|
||||
map (module: {
|
||||
name = lib.removeSuffix ".nix" (baseNameOf module);
|
||||
value = import module;
|
||||
}) allModules
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue