diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-02 18:13:25 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-02 18:15:48 +0200 |
commit | 4d04e90f0941350957afe7ffe17e99fe27eca2b9 (patch) | |
tree | 93291063f47d4d7f69c7955903141bdacc4b5373 /modules/home.legacy/conf/taskwarrior | |
parent | refactor(treewide): Remove `river_init_lesser` (diff) | |
download | nixos-config-4d04e90f0941350957afe7ffe17e99fe27eca2b9.zip |
refactor(modules/legacy/firefox): Move to by-name
This also improves the arkanfox-integration and the profile id generation.
Diffstat (limited to '')
-rw-r--r-- | modules/home.legacy/conf/taskwarrior/firefox/default.nix | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/modules/home.legacy/conf/taskwarrior/firefox/default.nix b/modules/home.legacy/conf/taskwarrior/firefox/default.nix deleted file mode 100644 index fb5daaa8..00000000 --- a/modules/home.legacy/conf/taskwarrior/firefox/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - config, - lib, - # options - prefConfig, - profile_size, - search, - userChrome, - ... -}: let - inherit (config.soispha.taskwarrior.projects) projects; - - mkFirefoxProfile = { - name, - id, - }: { - inherit name; - value = { - isDefault = false; - extraConfig = prefConfig; - inherit id name search userChrome; - }; - }; - projects_id = - lib.imap0 (id: project: { - name = project; - id = id + profile_size; - }) - projects; - firefoxProfiles = builtins.listToAttrs (builtins.map mkFirefoxProfile projects_id); -in - firefoxProfiles |