mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 18:45:12 -05:00
feat: refactored home manager
This commit is contained in:
parent
65417d1809
commit
376c1d7b18
511 changed files with 1777 additions and 772 deletions
14
home/modules/gui/apps/browsers/firefox/config/settings/default.nix
Executable file
14
home/modules/gui/apps/browsers/firefox/config/settings/default.nix
Executable file
|
@ -0,0 +1,14 @@
|
|||
let
|
||||
configPath = ./config;
|
||||
|
||||
aggregatedSettings =
|
||||
let
|
||||
files = builtins.attrNames (builtins.readDir configPath);
|
||||
in
|
||||
builtins.foldl' (
|
||||
emptySet: settingsFile: emptySet // (import (configPath + "/${settingsFile}"))
|
||||
) { } (builtins.filter (name: builtins.match ".*\\.nix$" name != null) files);
|
||||
in
|
||||
{
|
||||
settings = aggregatedSettings;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue