mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
d0240a064d
The `pkgs.gnome.gnome-terminal` package was moved to `pkgs.gnome-terminal`. The former is now a deprecated alias that throws a warning whenever a configuration enabling the module is used: ``` The ‘gnome.gnome-terminal’ was moved to top-level. Please use ‘pkgs.gnome-terminal’ directly. ``` Related: https://github.com/NixOS/nixpkgs/pull/319659 Related: https://github.com/nix-community/home-manager/pull/5611
24 lines
596 B
Nix
24 lines
596 B
Nix
{ 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"; };
|
|
};
|
|
};
|
|
|
|
nixpkgs.overlays =
|
|
[ (self: super: { gnome-terminal = config.lib.test.mkStubPackage { }; }) ];
|
|
|
|
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''];
|
|
}
|