mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
refactor: cleaned up nixos and home dirs
This commit is contained in:
parent
824a91d405
commit
e596e1c1b3
582 changed files with 2 additions and 22 deletions
14
modules/home/gui/apps/browsers/firefox/config/settings/default.nix
Executable file
14
modules/home/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