feat(firefox): only set all profiles for steveej; nix fmt
This commit is contained in:
parent
aa1aa835d4
commit
1083d0e717
36 changed files with 709 additions and 1201 deletions
|
@ -329,65 +329,67 @@ in
|
|||
enable = true;
|
||||
package = pkgs.firefox;
|
||||
|
||||
profiles = mkProfiles {
|
||||
"personal" = mkProfile {
|
||||
id = 0;
|
||||
isDefault = true;
|
||||
color = colors.blue;
|
||||
};
|
||||
"comms" = mkProfile {
|
||||
id = 1;
|
||||
color = colors.blue;
|
||||
};
|
||||
"admin" = mkProfile {
|
||||
id = 2;
|
||||
color = colors.blue;
|
||||
};
|
||||
"infra" = mkProfile {
|
||||
id = 3;
|
||||
color = colors.blue;
|
||||
};
|
||||
"finance" = mkProfile {
|
||||
id = 4;
|
||||
color = colors.yellow;
|
||||
};
|
||||
"business-admin" = mkProfile {
|
||||
id = 5;
|
||||
color = colors.teal;
|
||||
};
|
||||
"business-comms" = mkProfile {
|
||||
id = 6;
|
||||
color = colors.teal;
|
||||
};
|
||||
"business-dev" = mkProfile {
|
||||
id = 7;
|
||||
color = colors.teal;
|
||||
};
|
||||
"holo-dev" = mkProfile {
|
||||
id = 8;
|
||||
color = colors.green;
|
||||
};
|
||||
"holo-infra" = mkProfile {
|
||||
id = 9;
|
||||
color = colors.green;
|
||||
};
|
||||
"holo-comms" = mkProfile {
|
||||
id = 10;
|
||||
color = colors.green;
|
||||
};
|
||||
"justyna" = mkProfile {
|
||||
id = 11;
|
||||
color = colors.pink;
|
||||
};
|
||||
"justyna-office" = mkProfile {
|
||||
id = 12;
|
||||
color = colors.pink;
|
||||
};
|
||||
"tech-research" = mkProfile {
|
||||
id = 13;
|
||||
color = colors.purple;
|
||||
};
|
||||
};
|
||||
profiles =
|
||||
lib.filterAttrs (_: v: config.home.username == "steveej" || (v.isDefault or false))
|
||||
(mkProfiles {
|
||||
"personal" = mkProfile {
|
||||
id = 0;
|
||||
isDefault = true;
|
||||
color = colors.blue;
|
||||
};
|
||||
"comms" = mkProfile {
|
||||
id = 1;
|
||||
color = colors.blue;
|
||||
};
|
||||
"admin" = mkProfile {
|
||||
id = 2;
|
||||
color = colors.blue;
|
||||
};
|
||||
"infra" = mkProfile {
|
||||
id = 3;
|
||||
color = colors.blue;
|
||||
};
|
||||
"finance" = mkProfile {
|
||||
id = 4;
|
||||
color = colors.yellow;
|
||||
};
|
||||
"business-admin" = mkProfile {
|
||||
id = 5;
|
||||
color = colors.teal;
|
||||
};
|
||||
"business-comms" = mkProfile {
|
||||
id = 6;
|
||||
color = colors.teal;
|
||||
};
|
||||
"business-dev" = mkProfile {
|
||||
id = 7;
|
||||
color = colors.teal;
|
||||
};
|
||||
"holo-dev" = mkProfile {
|
||||
id = 8;
|
||||
color = colors.green;
|
||||
};
|
||||
"holo-infra" = mkProfile {
|
||||
id = 9;
|
||||
color = colors.green;
|
||||
};
|
||||
"holo-comms" = mkProfile {
|
||||
id = 10;
|
||||
color = colors.green;
|
||||
};
|
||||
"justyna" = mkProfile {
|
||||
id = 11;
|
||||
color = colors.pink;
|
||||
};
|
||||
"justyna-office" = mkProfile {
|
||||
id = 12;
|
||||
color = colors.pink;
|
||||
};
|
||||
"tech-research" = mkProfile {
|
||||
id = 13;
|
||||
color = colors.purple;
|
||||
};
|
||||
});
|
||||
|
||||
# policies = {
|
||||
# # search via policy. the other one doesn't always work because of schema version mismatch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue