1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-05 12:53:27 +02:00
home-manager/tests/modules/programs/firefox/container-id-out-of-range.nix

28 lines
530 B
Nix
Raw Normal View History

2024-01-25 23:08:09 +01:00
{ config, lib, ... }:
{
imports = [ ./setup-firefox-mock-overlay.nix ];
config = lib.mkIf config.test.enableBig {
test.asserts.assertions.expected =
[ "Container id must be smaller than 4294967294 (2^32 - 2)" ];
programs.firefox = {
enable = true;
profiles.my-profile = {
isDefault = true;
id = 1;
containers = {
"shopping" = {
id = 4294967294;
color = "blue";
icon = "circle";
};
};
};
};
};
}