Consolidated and moved modules/{nixos,darwin} to modules/system
This commit is contained in:
parent
77cf9d4396
commit
679496f5b4
20 changed files with 258 additions and 250 deletions
17
modules/system/default.nix
Normal file
17
modules/system/default.nix
Normal 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;
|
||||
};
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue