From 71f58b12bd672dea264d8a36cf98f94bae299e94 Mon Sep 17 00:00:00 2001 From: transcaffeine Date: Tue, 3 Dec 2024 22:00:10 +0100 Subject: [PATCH] feat(home-manager/firefox): configure default profile --- users/transcaffeine/home-manager/default.nix | 1 + users/transcaffeine/home-manager/firefox.nix | 32 ++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 users/transcaffeine/home-manager/firefox.nix diff --git a/users/transcaffeine/home-manager/default.nix b/users/transcaffeine/home-manager/default.nix index b5850ec..6cdc34d 100644 --- a/users/transcaffeine/home-manager/default.nix +++ b/users/transcaffeine/home-manager/default.nix @@ -15,4 +15,5 @@ }; home.preferXdgDirectories = true; + programs.firefox = import ./firefox.nix { inherit lib; }; } diff --git a/users/transcaffeine/home-manager/firefox.nix b/users/transcaffeine/home-manager/firefox.nix new file mode 100644 index 0000000..20fa202 --- /dev/null +++ b/users/transcaffeine/home-manager/firefox.nix @@ -0,0 +1,32 @@ +{ lib, ... }: + +{ + profiles.default = { + id = 42; + isDefault = true; + name = "default"; + containers = { + personal = { + id = 1; + color = "blue"; + icon = "fingerprint"; + name = "transcaffeine.me"; + }; + finallycoffee = { + id = 2; + color = "purple"; + icon = "fingerprint"; + name = "finally.coffee"; + }; + }; + extensions = [ + "uBlock0@raymondhill.net" + "uMatrix@raymondhill.net" + "{c607c8df-14a7-4f28-894f-29e8722976af}" + "default-theme@mozilla.org" + "addon@darkreader.org" + "@testpilot-containers" + "protoots@trans.rights" + ]; + }; +}