feat(firefox): generalize youtube profile into modular web-app profile

- Renamed profiles/youtube.nix to profiles/web-app.nix.

- Refactored to accept id, name, and url as arguments.

- Added settings to force homepage on startup and new tabs.

- Disabled session restore and undo-close-tab for web-app profiles.
This commit is contained in:
kenji
2026-01-05 14:31:20 -06:00
parent e17b21ab69
commit ae7d017d2b
3 changed files with 162 additions and 45 deletions
+6 -1
View File
@@ -49,7 +49,12 @@
];
profiles = {
youtube = import ./profiles/youtube.nix {inherit pkgs myConfig;};
youtube = import ./profiles/web-app.nix {
inherit pkgs myConfig;
id = 1;
name = "YouTube";
url = "https://youtube.com";
};
hakase = {
search.force = true;
isDefault = true;