Consolidated and moved modules/{nixos,darwin} to modules/system

This commit is contained in:
Nikodem Rabuliński 2024-01-02 20:08:20 +01:00
parent 77cf9d4396
commit 679496f5b4
20 changed files with 258 additions and 250 deletions

View file

@ -0,0 +1,17 @@
{
config,
lib,
...
}: {
flake = lib.genAttrs ["nixosModules" "darwinModules"] (attr: let
isLinux = lib.hasPrefix "nixos" attr;
in {
settei = import ./settei {
inherit (config) perInput;
inherit isLinux;
};
common = import ./common {
inherit isLinux;
};
});
}