flake-parts: enable modules feature
This commit is contained in:
39
flake.nix
39
flake.nix
@@ -63,27 +63,28 @@
|
|||||||
clan = {
|
clan = {
|
||||||
meta.name = "clan-core";
|
meta.name = "clan-core";
|
||||||
};
|
};
|
||||||
|
|
||||||
systems = import systems;
|
systems = import systems;
|
||||||
imports =
|
imports =
|
||||||
# only importing existing paths allows to minimize the flake for test
|
[ flake-parts.flakeModules.modules ]
|
||||||
# by removing files
|
++
|
||||||
filter pathExists [
|
# only importing existing paths allows to minimize the flake for test
|
||||||
./checks/flake-module.nix
|
# by removing files
|
||||||
./clanModules/flake-module.nix
|
filter pathExists [
|
||||||
./clanServices/flake-module.nix
|
./checks/flake-module.nix
|
||||||
./devShell.nix
|
./clanModules/flake-module.nix
|
||||||
./docs/nix/flake-module.nix
|
./clanServices/flake-module.nix
|
||||||
./flakeModules/flake-module.nix
|
./devShell.nix
|
||||||
./flakeModules/demo_iso.nix
|
./docs/nix/flake-module.nix
|
||||||
./lib/filter-clan-core/flake-module.nix
|
./flakeModules/flake-module.nix
|
||||||
./lib/flake-module.nix
|
./flakeModules/demo_iso.nix
|
||||||
./lib/flake-parts/clan-nixos-test.nix
|
./lib/filter-clan-core/flake-module.nix
|
||||||
./nixosModules/clanCore/vars/flake-module.nix
|
./lib/flake-module.nix
|
||||||
./nixosModules/flake-module.nix
|
./lib/flake-parts/clan-nixos-test.nix
|
||||||
./pkgs/flake-module.nix
|
./nixosModules/clanCore/vars/flake-module.nix
|
||||||
./templates/flake-module.nix
|
./nixosModules/flake-module.nix
|
||||||
]
|
./pkgs/flake-module.nix
|
||||||
|
./templates/flake-module.nix
|
||||||
|
]
|
||||||
++ [
|
++ [
|
||||||
(if pathExists ./flakeModules/clan.nix then import ./flakeModules/clan.nix inputs.self else { })
|
(if pathExists ./flakeModules/clan.nix then import ./flakeModules/clan.nix inputs.self else { })
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user