mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-11 06:14:38 -05:00
feat: refactored home manager
This commit is contained in:
parent
65417d1809
commit
376c1d7b18
511 changed files with 1777 additions and 772 deletions
57
home/modules/gui/apps/browsers/firefox/default.nix
Executable file
57
home/modules/gui/apps/browsers/firefox/default.nix
Executable file
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue