mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: expanded all lists
This commit is contained in:
parent
59cc199722
commit
bb0b55b011
144 changed files with 1798 additions and 507 deletions
|
@ -1,6 +1,6 @@
|
|||
{flake, ...}: let
|
||||
configPath = ./config;
|
||||
flakedPath = configPath + "/flake";
|
||||
flakedPath = configPath + /flake;
|
||||
|
||||
filterFiles = name: builtins.match ".*\\.nix$" name != null;
|
||||
|
||||
|
@ -17,7 +17,13 @@
|
|||
in
|
||||
builtins.foldl' (
|
||||
emptyList: bookmarkFile:
|
||||
emptyList ++ (import (flakedPath + "/${bookmarkFile}") {inherit flake;}).bookmarks
|
||||
emptyList
|
||||
++ (import (flakedPath + "/${bookmarkFile}") {
|
||||
inherit
|
||||
flake
|
||||
;
|
||||
})
|
||||
.bookmarks
|
||||
) [] (builtins.filter filterFiles files);
|
||||
|
||||
aggregatedBookmarks = regularBookmarks ++ flakedBookmarks;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue