2023-07-29 19:01:04 +02:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.gnome-terminal = {
|
|
|
|
enable = true;
|
|
|
|
profile = {
|
|
|
|
bad-name = { visibleName = "a"; };
|
|
|
|
"e0b782ed-6aca-44eb-8c75-62b3706b6220" = {
|
|
|
|
default = true;
|
|
|
|
visibleName = "b";
|
|
|
|
};
|
|
|
|
another-bad-name = { visibleName = "c"; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-07-25 01:36:17 +02:00
|
|
|
nixpkgs.overlays =
|
|
|
|
[ (self: super: { gnome-terminal = config.lib.test.mkStubPackage { }; }) ];
|
2023-07-29 19:01:04 +02:00
|
|
|
|
|
|
|
test.stubs.dconf = { };
|
|
|
|
|
|
|
|
test.asserts.assertions.expected = [''
|
|
|
|
The attribute name of a Gnome Terminal profile must be a UUID.
|
|
|
|
Incorrect profile names: another-bad-name, bad-name''];
|
|
|
|
}
|