fork/home-manager
git clone https://git.julia.blue/fork/home-manager
f58889c0
master
1{ config , ...} : 2 3{ 4programs . gnome-terminal = { 5enable = true ; 6profile = { 7bad-name = { visibleName = "a" ; }; 8"e0b782ed-6aca-44eb-8c75-62b3706b6220" = { 9default = true ; 10visibleName = "b" ; 11}; 12another-bad-name = { visibleName = "c" ; }; 13}; 14}; 15 16nixpkgs . overlays = [ 17( self :super :{ gnome . gnome-terminal = config . lib . test . mkStubPackage { }; }) 18]; 19 20test . stubs . dconf = { }; 21 22test . asserts . assertions . expected = [ '' 23The attribute name of a Gnome Terminal profile must be a UUID. 24Incorrect profile names: another-bad-name, bad-name'' ]; 25}