mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Rename module and wrapper namespace
This commit is contained in:
parent
f418e191d4
commit
2938191083
5 changed files with 8 additions and 9 deletions
|
|
@ -3,8 +3,8 @@ let
|
|||
modulesOf = dir: map (name: "${dir}/${name}") (builtins.attrNames (builtins.readDir dir));
|
||||
in
|
||||
{
|
||||
flake.nixosModules = {
|
||||
system.imports = modulesOf "${self}/modules/system";
|
||||
home.imports = modulesOf "${self}/modules/home";
|
||||
flake = {
|
||||
nixosModules.default.imports = modulesOf "${self}/modules/system";
|
||||
homeManagerModules.default.imports = modulesOf "${self}/modules/home";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
flake.nixosModules.wrappers =
|
||||
flake.wrappers.default =
|
||||
{
|
||||
self,
|
||||
inputs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue