mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
47 lines
1 KiB
Nix
Executable file
47 lines
1 KiB
Nix
Executable file
{
|
|
pkgs,
|
|
flake,
|
|
nur,
|
|
osConfig,
|
|
...
|
|
}:
|
|
let
|
|
inherit (flake.config.people)
|
|
user0
|
|
;
|
|
in
|
|
{
|
|
programs.floorp =
|
|
let
|
|
configPath = ./config;
|
|
bookmarksPath = import (configPath + /bookmarks) { inherit flake; };
|
|
extensionsPath = import (configPath + /extensions) { inherit pkgs; };
|
|
searchPath = import (configPath + /search) { inherit flake osConfig; };
|
|
settingsPath = import (configPath + /settings);
|
|
themesPath = import (configPath + /themes);
|
|
in
|
|
|
|
{
|
|
enable = true;
|
|
# package = (flake.inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.floorp);
|
|
# package = pkgs.floorp-bin;
|
|
profiles = {
|
|
${user0} = {
|
|
isDefault = true;
|
|
id = 0;
|
|
}
|
|
// bookmarksPath
|
|
// extensionsPath
|
|
// searchPath
|
|
// settingsPath
|
|
// themesPath;
|
|
testing = {
|
|
isDefault = false;
|
|
id = 1;
|
|
}
|
|
// bookmarksPath
|
|
// searchPath
|
|
// themesPath;
|
|
};
|
|
};
|
|
}
|