mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Rename lib'.listNixFilesRecursive to lib'.listNixFilesRecursively
This commit is contained in:
parent
dd614f39d5
commit
33127ac79a
2 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{ self, ... }:
|
{ self, ... }:
|
||||||
{
|
{
|
||||||
flake = {
|
flake = {
|
||||||
nixosModules.default.imports = self.lib.listNixFilesRecursive "${self}/modules/system";
|
nixosModules.default.imports = self.lib.listNixFilesRecursively "${self}/modules/system";
|
||||||
homeManagerModules.default.imports = self.lib.listNixFilesRecursive "${self}/modules/home";
|
homeManagerModules.default.imports = self.lib.listNixFilesRecursively "${self}/modules/home";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ lib: {
|
||||||
|
|
||||||
rootDomainOf = domain: domain |> lib.splitString "." |> lib.tail |> lib.concatStringsSep ".";
|
rootDomainOf = domain: domain |> lib.splitString "." |> lib.tail |> lib.concatStringsSep ".";
|
||||||
|
|
||||||
listNixFilesRecursive =
|
listNixFilesRecursively =
|
||||||
dir: dir |> lib.filesystem.listFilesRecursive |> lib.filter (lib.hasSuffix ".nix");
|
dir: dir |> lib.filesystem.listFilesRecursive |> lib.filter (lib.hasSuffix ".nix");
|
||||||
|
|
||||||
listDirectoryNames =
|
listDirectoryNames =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue