diff options
Diffstat (limited to 'hm/soispha/conf/taskwarrior/firefox/default.nix')
-rw-r--r-- | hm/soispha/conf/taskwarrior/firefox/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/hm/soispha/conf/taskwarrior/firefox/default.nix b/hm/soispha/conf/taskwarrior/firefox/default.nix index 494d269a..f2379983 100644 --- a/hm/soispha/conf/taskwarrior/firefox/default.nix +++ b/hm/soispha/conf/taskwarrior/firefox/default.nix @@ -4,11 +4,11 @@ extraConfig, bookmarks, search, + profile_size, lib, config, ... }: let - hexLib = import ./lib.nix {inherit lib;}; inherit (config.soispha.taskwarrior.projects) projects; mkFirefoxProfile = { @@ -22,11 +22,9 @@ }; }; projects_id = - builtins.map (project: { + lib.imap1 (id: project: { name = project; - id = - hexLib.fromHexString - (builtins.hashString "sha256" project); + id = id + profile_size; }) projects; firefoxProfiles = builtins.listToAttrs (builtins.map mkFirefoxProfile projects_id); |