refactor: cleaned up nixos and home dirs

This commit is contained in:
Nick 2025-02-06 14:27:52 -06:00
parent 824a91d405
commit e596e1c1b3
582 changed files with 2 additions and 22 deletions

View file

@ -0,0 +1,45 @@
{
pkgs,
flake,
...
}:
let
inherit (flake.config.people)
user0
;
in
{
programs.firefox =
let
configPath = ./config;
bookmarksPath = import (configPath + /bookmarks) { inherit flake; };
extensionsPath = import (configPath + /extensions) { inherit pkgs; };
searchPath = import (configPath + /search) { inherit flake; };
settingsPath = import (configPath + /settings);
themesPath = import (configPath + /themes);
in
{
enable = true;
package = pkgs.firefox;
profiles = {
${user0} =
{
isDefault = true;
id = 0;
}
// bookmarksPath
// extensionsPath
// searchPath
// settingsPath
// themesPath;
testing =
{
isDefault = false;
id = 1;
}
// bookmarksPath
// searchPath
// themesPath;
};
};
}